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

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!


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

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 19
6674
Change field alignment(Vertical) in view แก้ไขแล้ว
1
ม.ค. 24
13562
Inherit from inherited view แก้ไขแล้ว
5
มิ.ย. 20
6748
2
มิ.ย. 17
6323
1
เม.ย. 16
4959