Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4107 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

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

Best Regards & Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
1605
1
thg 5 25
2253
1
thg 4 25
3295
1
thg 4 25
4110
1
thg 4 25
1597