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

Hi there,

We have created a simple custom module, which has normal tree view & form view of a custom model.

We want to have a Configuration page under settings, where we'll have 3 checkbox fields.

Based on the state of these checkbox fields, we want to display some additional data on form view.

Any idea, how to create and enable save feature in checkbox fields on setting page?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Refer the blog : 

https://www.cybrosys.com/blog/how-to-add-custom-fields-to-existing-configuration-settings-in-odoo-16

It explains in detail about adding a checkbox in settings and conditionally displaying fields based on that and saving it.


Hope it helps

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Check following link to add a custom field in odoo settings:

https://youtu.be/A-0uQnJr3QA

Best Regards & Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 24
1543
1
พ.ค. 25
2144
1
เม.ย. 25
3215
1
เม.ย. 25
4030
1
เม.ย. 25
1524