what does change_default attribute do?
change_default = False # whether the field may trigger a "user-onchange"
what does this mean ?
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
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
oct. 20
|
3218 | |||
|
0
mai 20
|
8070 | |||
|
Too many values to unpack?
Rezolvat
|
1
iun. 16
|
13072 | ||
|
0
mar. 15
|
4794 | |||
|
Inheriting attributes from Fields
Rezolvat
|
1
feb. 23
|
9795 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.