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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
How to make calculated field available in Filter?
Diselesaikan
|
1
Des 19
|
6935 | ||
|
0
Okt 18
|
4296 | |||
|
2
Mar 24
|
7856 | |||
|
0
Apr 18
|
34809 | |||
|
1
Mar 18
|
7240 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.