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

i want to use tree in form view just like this.

item
 sub----
 sub----
item2
 sub---
 sub----

image description and i can add item or sub..
in openerp can realize this?

Avatar
Cancelar
Melhor resposta

If you have a field ("Fieldname_in_Your_Model") maybe as one2many or many2many you can define in View:

<field name="Fieldname_in_Your_Model">
    <tree string="TreeName">
        <field name="Name_Of_Field_From_Related_Model"/>
        ...
    </tree>
</field>
Avatar
Cancelar
Autor

oh, not this. this only add item, can't not show the subject or edit the subject

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4455
0
fev. 17
5555
0
mar. 15
4219
1
nov. 24
2019
1
set. 21
9751