Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8287 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
0
mar 15
4289
0
feb 17
5369
0
mar 15
4096
1
nov 24
1729
1
set 21
9536