تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1088 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 20
2049
0
مايو 20
6269
1
يونيو 16
11325
0
مارس 15
3399
1
فبراير 23
7883