Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8229 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4252
0
thg 2 17
5344
0
thg 3 15
4070
1
thg 11 24
1721
1
thg 9 21
9523