跳至内容
菜单
此问题已终结
1 回复
1085 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
0
10月 20
2049
0
5月 20
6269
1
6月 16
11325
0
3月 15
3398
1
2月 23
7883