تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
10096 أدوات العرض

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
نوفمبر 24
1810
1
سبتمبر 21
9570
1
يناير 24
17166
0
مارس 15
3416
1
مايو 24
1643