Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1182 Tampilan

what does change_default attribute do? 

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

what does this mean ?

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 20
2127
0
Mei 20
6361
1
Jun 16
11370
0
Mar 15
3498
1
Feb 23
7981