跳至内容
菜单
此问题已终结
1 回复
11791 查看

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>
形象
丢弃
最佳答案

Hi,

use a tag group

  <form string="Clientes" version="7.0">
     <group>
       <field name="nom"/> 
       <field name="cognom1"/> 
        .....
    </group>
  </form>
形象
丢弃
编写者

Works great, thank you very much.

相关帖文 回复 查看 活动
2
1月 24
13238
1
11月 24
1891
1
9月 21
9627
1
1月 24
17227
1
3月 15
10149