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

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
2131
0
мая 20
6368
1
июн. 16
11388
0
мар. 15
3507
1
февр. 23
7999