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

Hello,

I'm new to Odoo and i'm trying to search and read the application permissions of all the users using xmlrpc in python.


How can I have multiple fields separated in sections in one single xml file?


I'm trying to have one section with checkboxes and other section with text fields, and handle it in one xml file but I don't know if is posibly to do.


I would appreciate the help!

Thanks!


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

Hi,

You can categories your fields using the <group> tag in xml.

<group>
<group string="Check Boxes">
<field name="check1"/>
<field name="check2"/>
<field name="check3"/>
</group>
<group string="Text Fields" name="texts">
<field name="taxt1">
<field name="taxt2"/>
<field name="taxt3"/>
</group>
</group>

Now in the left side list all the checkbox fields and the right side contain the text fields.

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 19
6673
1
thg 1 24
13562
5
thg 6 20
6746
2
thg 6 17
6322
1
thg 4 16
4956