Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1076 Vizualizări

what does change_default attribute do? 

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

what does this mean ?

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
oct. 20
2048
0
mai 20
6266
1
iun. 16
11324
0
mar. 15
3387
1
feb. 23
7877