OpenERP-未在树视图中显示的字段

OpenERP-未在树视图中显示的字段,openerp,odoo,Openerp,Odoo,这是我的XML文件。由于某些原因,“产品计量单位”字段未显示在视图的树视图中。有什么见解可以解释为什么会发生这种情况,以及我如何让它表现出来 <tree string="Components" editable="bottom"> <field name="sequence" widget="handle"/> <field name="product_id" on_change="onchange_product_id(product_id,

这是我的XML文件。由于某些原因,“产品计量单位”字段未显示在视图的树视图中。有什么见解可以解释为什么会发生这种情况,以及我如何让它表现出来

<tree string="Components" editable="bottom">
    <field name="sequence" widget="handle"/>
    <field name="product_id" on_change="onchange_product_id(product_id, 
            product_qty)"/>
    <field name="type"/>
    <field name="product_qty"/>
    <field name="product_uom" on_change="onchange_uom(product_id, 
            product_uom)" groups="product.group_uom"/>
    <field name="product_rounding"/>
    <field name="product_efficiency"/>
    <field name="date_start"/>
    <field name="date_stop"/>
    <field name="attribute_value_ids" widget="many2many_tags" domain="
            [('product_ids.product_tmpl_id', '=', parent.product_tmpl_id)]"/>
</tree>

产品计量单位字段有一个
groups=“product.group\u uom”
属性

这使其仅对该组中的用户可见。 请将其从树定义中删除,或确保您的用户在该组中

您可能只需要激活
设置/配置/销售
产品功能
部分的
功能“允许使用不同的度量单位”
。在幕后,这将为所有用户激活组计量单位