Skip to Content
Menu
This question has been flagged
1 Reply
8152 Views

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
0
Mar 15
4152
0
Feb 17
5244
0
Mar 15
3992
1
Nov 24
1645
1
Sep 21
9425