跳至內容
選單
此問題已被標幟
1 回覆
8233 瀏覽次數

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?

頭像
捨棄
最佳答案

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>
頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
0
3月 15
4252
0
2月 17
5344
0
3月 15
4071
1
11月 24
1722
1
9月 21
9523