Skip to Content
Menu
This question has been flagged
1 Reply
9821 Views

How can I use the sheet tag in a form?

Avatar
Discard
Best Answer

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

Avatar
Discard

Thanks Mayur!

Author

Thank you! It really helped me.

Can we minimise the size of <sheet tag>

Related Posts Replies Views Activity
1
Nov 24
1547
1
Sep 21
9319
1
Jan 24
16908
0
Mar 15
3223
1
May 24
1396