Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1107 Zobrazení

what does change_default attribute do? 

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

what does this mean ?

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 20
2057
0
kvě 20
6284
1
čvn 16
11337
0
bře 15
3415
1
úno 23
7919