Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1426 Visualizações

Hi, 


I need the "add a line" button on top of the tree within a form.

How can I achieve this?

Thank you

Avatar
Cancelar
Melhor resposta

Hi,

You can use the attribute editable='top' in your tree view

example:

<tree string="Order" editable="top">
         <field name="name"/>
         <field name="model_id"/>
   </tree>

Hope it helps

Avatar
Cancelar
Autor

does not work if the tree is inside a form

Publicações relacionadas Respostas Visualizações Atividade
1
jul. 25
2437
2
jul. 25
7901
2
jul. 25
4309
2
jul. 25
4058
2
jun. 25
2659