跳至内容
菜单
此问题已终结
1 回复
8186 查看

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
4187
0
2月 17
5277
0
3月 15
4021
1
11月 24
1665
1
9月 21
9440