Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1079 Представления

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
2048
0
мая 20
6267
1
июн. 16
11324
0
мар. 15
3390
1
февр. 23
7877