コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3820 ビュー

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
6203
0
10月 18
3663
2
3月 24
7176
0
4月 18
33305
1
3月 18
6363