Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9901 Lượt xem

How can I use the sheet tag in a form?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

Thanks Mayur!

Tác giả

Thank you! It really helped me.

Can we minimise the size of <sheet tag>

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
1625
1
thg 9 21
9398
1
thg 1 24
17010
0
thg 3 15
3292
1
thg 5 24
1465