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
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
1
груд. 19
|
7002 | |||
|
0
жовт. 18
|
4324 | |||
|
2
бер. 24
|
7881 | |||
|
0
квіт. 18
|
34890 | |||
|
1
бер. 18
|
7305 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.