跳至内容
菜单
此问题已终结
1 回复
3764 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
12月 19
6164
0
10月 18
3591
2
3月 24
7150
0
4月 18
33213
1
3月 18
6325