Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
10130 Visualizzazioni

How can I use the sheet tag in a form?

Avatar
Abbandona
Risposta migliore

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
Abbandona

Thanks Mayur!

Autore

Thank you! It really helped me.

Can we minimise the size of <sheet tag>

Post correlati Risposte Visualizzazioni Attività
1
nov 24
1853
1
set 21
9595
1
gen 24
17200
0
mar 15
3443
1
mag 24
1681