コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1091 ビュー

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
6270
1
6月 16
11326
0
3月 15
3401
1
2月 23
7888