Openerp 我怎样才能使一个有很多场地的内联树在奥多看起来很好?
我有一个树状视图,其中有许多字段Openerp 我怎样才能使一个有很多场地的内联树在奥多看起来很好?,openerp,odoo,openerp-8,Openerp,Odoo,Openerp 8,我有一个树状视图,其中有许多字段require\u weekday: <record model="ir.ui.view" id="sale_order_email_collection_form"> <field name="name">sale.order_email.collection.form</field> <field name="model">sale.order_email.collection</fiel
require\u weekday
:
<record model="ir.ui.view"
id="sale_order_email_collection_form">
<field name="name">sale.order_email.collection.form</field>
<field name="model">sale.order_email.collection</field>
<field name="arch" type="xml">
<form string="Collection">
<group>
<field name="name"/>
</group>
<field name="emails">
<tree string="Lines" editable="bottom">
<field name="required_weekday"/>
</tree>
</field>
</form>
</field>
</record>
sale.order\u email.collection.form
销售.订单\电子邮件.收款
当我点击many2many字段时,它基本上是不可用的,因为一些蓝色文本覆盖在树状视图上,因此无法判断发生了什么
有没有可能让它正常工作?您可以在xml中使用widget=“one2many”
这将根据需要将many2many
表单视图更改为one2many
例如:
<field name="your_many2many_field" widget="one2many">
<tree string="your string" editable="top/bottom">
<field name="your_fields"/>#Define all your fields for tree view
</tree>
</field?
#定义树视图的所有字段
您可以在xml中使用widget=“one2many”
这将根据需要将many2many
表单视图更改为one2many
例如:
<field name="your_many2many_field" widget="one2many">
<tree string="your string" editable="top/bottom">
<field name="your_fields"/>#Define all your fields for tree view
</tree>
</field?
#定义树视图的所有字段
您可以在xml中使用widget=“many2many\u标记”。
例如:
<field name="fields_name" widget="many2many_tags"/>
您可以在xml中使用widget=“many2many\u标记”。
例如:
<field name="fields_name" widget="many2many_tags"/>