Skip to Content
मेन्यू
This question has been flagged
2 Replies
1499 Views

what does change_default attribute do? 

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

what does this mean ?

Avatar
Discard
Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
0
अक्तू॰ 20
2311
0
मई 20
6656
1
जून 16
11670
0
मार्च 15
3671
1
मार्च 23
8272