Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1101 Переглядів

what does change_default attribute do? 

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

what does this mean ?

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
жовт. 20
2050
0
трав. 20
6274
1
черв. 16
11329
0
бер. 15
3410
1
лют. 23
7899