跳至內容
選單
此問題已被標幟
1 回覆
10090 瀏覽次數

How can I use the sheet tag in a form?

頭像
捨棄
最佳答案

Hello,

You can use sheet tag within the form tag which must have version="7.0" attribute .

see this example which might help you more

     <record model="ir.ui.view" id="object_name_form_view">
        <field name="name">object_name.form.view</field>
        <field name="model">object_name</field>
        <field name="arch" type="xml">
            <form string="form_string" version="7.0">
                <sheet>
                    <field name="field_name"/>
                </sheet>
            </form>
        </field>
    </record>

Thanks

頭像
捨棄

Thanks Mayur!

作者

Thank you! It really helped me.

Can we minimise the size of <sheet tag>

相關帖文 回覆 瀏覽次數 活動
1
11月 24
1800
1
9月 21
9568
1
1月 24
17162
0
3月 15
3413
1
5月 24
1642