what does change_default attribute do?
change_default = False # whether the field may trigger a "user-onchange"
what does this mean ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Hi,
Please refer to the solved forum:
1. https://www.odoo.com/id_ID/forum/help-1/fields-definitions-parameter-change-default-97660
Hope it helps
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
lokak. 20
|
2251 | ||
|
0
toukok. 20
|
6524 | ||
Too many values to unpack?
Ratkaistu
|
|
1
kesäk. 16
|
11538 | |
|
0
maalisk. 15
|
3603 | ||
Inheriting attributes from Fields
Ratkaistu
|
|
1
helmik. 23
|
8129 |