跳至内容
菜单
此问题已终结
1 回复
10072 查看

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
1772
1
9月 21
9562
1
1月 24
17147
0
3月 15
3404
1
5月 24
1635