Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3769 Vizualizări

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()

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 19
6172
0
oct. 18
3600
2
mar. 24
7152
0
apr. 18
33221
1
mar. 18
6334