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

Hi, I’m new to Odoo studio and

I want more than 2 columns in my form. But it seams that odoo offers only 2 columns at a time.

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

Hii,

Here is example to to add 2 or more columns 
<group col="3">

    <field name="field_1"/>

    <field name="field_2"/>

    <field name="field_3"/>

    <field name="field_4"/>

    <field name="field_5"/>

    <field name="field_6"/>

</group>


i hope it is usefull

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

Go into developper mode when you are in studio

 then tab view 

and button xml 

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

Hi,

You can add more than 2 column in the form. For adding 3 columns in the form, you can do coding as follows.

Thanks

อวตาร
ละทิ้ง

<group col="3">

<group>

<field name="name"/>

</group>

<group>

<field name="partner_id"/>

</group>

<group>

<field name="date_invoice"/>

</group>

</group>

ผู้เขียน

Thanks Niyas for replying

But where can I add this codes

ผู้เขียน
Thanks 
But where can I add this codes 



On Jun 11, 2021, at 7:44 PM, Niyas Raphy <niyasraphyk@gmail.com> wrote:



<group col="3">

<group>

<field name="name"/>

</group>

<group>

<field name="partner_id"/>

</group>

<group>

<field name="date_invoice"/>

</group>

</group>

Sent by Odoo S.A. using Odoo.