Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1090 Widoki

what does change_default attribute do? 

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

what does this mean ?

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 20
2049
0
maj 20
6269
1
cze 16
11325
0
mar 15
3401
1
lut 23
7886