Skip to Content
मेन्यू
This question has been flagged
1 Reply
3760 Views

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()

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
दिस॰ 19
6158
0
अक्तू॰ 18
3572
2
मार्च 24
7145
0
अप्रैल 18
33203
1
मार्च 18
6302