Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1089 Weergaven

what does change_default attribute do? 

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

what does this mean ?

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 20
2049
0
mei 20
6269
1
jun. 16
11325
0
mrt. 15
3400
1
feb. 23
7883