Odoo中文网|Odoo实施培训
标题:
如何在notebook页面中显示tree视图?
[打印本页]
作者:
南京-大熊
时间:
2015-11-6 23:38
标题:
如何在notebook页面中显示tree视图?
如图,如何在notebook页面中显示tree视图?
作者:
洪七
时间:
2015-11-6 23:48
<record id="form_id" model="ir.ui.view">
<field name="name">object.object.form</field>
<field name="model">object.object</field>
<field name="arch" type="xml">
<form string="Form String" version="7.0">
<header>
</header>
<sheet>
<div class="oe_title">
</div>
<notebook>
<page string="Page String">
<field name="one2many_field">
<tree string="Tree String">
<field name="name"/>
<field name="date_planned"/>
<field name="price_subtotal"/>
</tree>
</field>
</page>
</notebook>
</sheet>
</form>
</field>
<record/>
复制代码
试试看这么写。
欢迎光临 Odoo中文网|Odoo实施培训 (http://www.chinaodoo.net/)
Powered by Discuz! X3.2