Skip to Content
Menú
This question has been flagged
2 Respostes
1323 Vistes

what does change_default attribute do? 

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

what does this mean ?

Avatar
Descartar
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.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’oct. 20
2228
0
de maig 20
6471
1
de juny 16
11508
0
de març 15
3567
1
de febr. 23
8069