Skip to Content
Menu
This question has been flagged
1 Atsakyti
1192 Rodiniai

what does change_default attribute do? 

change_default = False # whether the field may trigger a "user-onchange"

what does this mean ?

Portretas
Atmesti
Best Answer

If change_default = True, when the field's value changes, Odoo will check and may update the default values in ir.default based on the corresponding conditions.

Conversely, if change_default = False, even if the field meets the conditions in ir.default, changing it will not trigger any updates from ir.default.

In summary, change_default determines whether the field can affect the default values set in ir.default.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
spal. 20
2129
0
geg. 20
6367
1
birž. 16
11385
0
kov. 15
3505
1
vas. 23
7999