Odoo中的错误500 - 评估字段的问题

时间:2015-04-23 11:18:05

标签: odoo odoo-8

更新产品视图尝试为标签创建权限后,我无法访问Odoo,我收到错误500.看到日志后:

Error details:
El campo `valuation` no existe

Error de contexto:
Vista `product.product.procurement`
[view_id: 785, xml_id: stock.product_form_view_procurement_button, model: product.product, parent_id: 361]" while parsing /opt/odoo/addons/stock/product_view.xml:215, near
<record model="ir.ui.view" id="product_form_view_procurement_button">
            <field name="name">product.product.procurement</field>
            <field name="model">product.product</field>
            <field name="inherit_id" ref="product.product_normal_form_view"/>
            <field name="arch" type="xml">
                <xpath expr="//div[@name='buttons']" position="inside">
                   <button class="oe_stat_button" name="%(product_open_quants)d" icon="fa-building-o" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_locations">
                    <div><field name="qty_available_text"/></div>
                    </button>
                   <button class="oe_inline oe_stat_button" string="Moves" name="%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_stock_user" icon="fa-arrows-v"/>
                   <button class="oe_inline oe_stat_button" name="%(product_open_orderpoint)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-refresh" string="Reordering Rules"/>
                   <button class="oe_inline oe_stat_button" name="action_view_routes" string="Routes" type="object" icon="fa-cogs" attrs="{'invisible':[('type', '=', 'service')]}"/>
                </xpath>
            </field>
        </record>

如何通过postgresql创建该字段?或更改视图product.product.procurement?

谢谢!

0 个答案:

没有答案