Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1189 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 20
2129
0
พ.ค. 20
6366
Too many values to unpack? แก้ไขแล้ว
1
มิ.ย. 16
11380
0
มี.ค. 15
3502
Inheriting attributes from Fields แก้ไขแล้ว
1
ก.พ. 23
7995