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
|
7004 | |||
|
0
10월 18
|
4325 | |||
|
2
3월 24
|
7887 | |||
|
0
4월 18
|
34899 | |||
|
1
3월 18
|
7309 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.