Refer: currency_id = fields.Many2one(related='order_id.currency_id', depends=['order_id'], store=True, string='Currency', readonly=True)
Is it work same as @api.depend()
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Refer: currency_id = fields.Many2one(related='order_id.currency_id', depends=['order_id'], store=True, string='Currency', readonly=True)
Is it work same as @api.depend()
Hello,
i think depends it is working same as @api.depends. in odoo you can find the answer like this.
'depends': None, # collection of field dependencies
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
1
déc. 19
|
6963 | |||
|
0
oct. 18
|
4307 | |||
|
2
mars 24
|
7862 | |||
|
0
avr. 18
|
34837 | |||
|
1
mars 18
|
7269 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.