Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
11653 Widoki

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>
Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

use a tag group

  <form string="Clientes" version="7.0">
     <group>
       <field name="nom"/> 
       <field name="cognom1"/> 
        .....
    </group>
  </form>
Awatar
Odrzuć
Autor

Works great, thank you very much.

Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
13134
1
lis 24
1681
1
wrz 21
9462
1
sty 24
17065
1
mar 15
9988