跳至內容
選單
此問題已被標幟
1 回覆
11762 瀏覽次數

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
13217
1
11月 24
1798
1
9月 21
9568
1
1月 24
17161
1
3月 15
10090