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
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
1
12月 19
|
6991 | |||
|
0
10月 18
|
4314 | |||
|
2
3月 24
|
7872 | |||
|
0
4月 18
|
34864 | |||
|
1
3月 18
|
7294 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.