Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
11628 Vistas

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>
Avatar
Descartar
Mejor respuesta

Hi,

use a tag group

  <form string="Clientes" version="7.0">
     <group>
       <field name="nom"/> 
       <field name="cognom1"/> 
        .....
    </group>
  </form>
Avatar
Descartar
Autor

Works great, thank you very much.

Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
13114
1
nov 24
1662
1
sept 21
9437
1
ene 24
17046
1
mar 15
9969