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

Hello,

I have a question, i have created a new module, but this module don't show the labels in view form, what can i do? Thanks.

Attach the example:

 <record model="ir.ui.view" id="ficha_cliente_form">
            <field name="name">ficha.cliente.form</field>
            <field name="model">ficha.cliente</field>
        <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Clientes" version="7.0">
                    <field name="nom"/>
                    <field name="cognom1"/>
                    <field name="cognom2"/>        
            <field name="direccio"/>        
            <field name="telefon"/>                         
            <field name="poblacio"/>        
                </form>
            </field>
        </record>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

use a tag group

  <form string="Clientes" version="7.0">
     <group>
       <field name="nom"/> 
       <field name="cognom1"/> 
        .....
    </group>
  </form>
Ảnh đại diện
Huỷ bỏ
Tác giả

Works great, thank you very much.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 24
13222
1
thg 11 24
1818
1
thg 9 21
9570
1
thg 1 24
17167
1
thg 3 15
10098