Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
8209 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4219
0
úno 17
5318
0
bře 15
4042
1
lis 24
1692
1
zář 21
9477