Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
10014 Widoki

How can I use the sheet tag in a form?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

Thanks Mayur!

Autor

Thank you! It really helped me.

Can we minimise the size of <sheet tag>

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 24
1703
1
wrz 21
9496
1
sty 24
17080
0
mar 15
3346
1
maj 24
1557