1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="mrp_bom_form_view_inhe" model="ir.ui.view">
- <field name="model">mrp.bom</field>
- <field name="inherit_id" ref="mrp.mrp_bom_form_view" />
- <field name="arch" type="xml">
- <xpath expr="//page[@string='Components']/field[@name='bom_line_ids']/tree[@string='Components']/field[@name='product_uom']" position="after">
- <field name="bom_prod_price"/>
- </xpath>
- <xpath expr="//form[@string='Bill of Material']/group/group/label[@for='routing_id']" position="before">
- <label for="bom_prod_price_total" class="oe_inline"/>
- <div>
- <field name="bom_prod_price_total"/>
- </div>
- <label for="bom_prod_price_unit" class="oe_inline"/>
- <div>
- <field name="bom_prod_price_unit"/>
- </div>
- </xpath>
- </field>
- </record>
- <record id="mrp.mrp_bom_tree_parent_view" model="ir.ui.view">
- <field name="name">mrp.bom.tree</field>
- <field name="model">mrp.bom</field>
- <field name="arch" type="xml">
- <tree>
- <field name="name"/>
- <field name="bom_prod_price_total"/>
- <field name="bom_prod_price_unit"/>
- </tree>
- </field>
- </record>
- </data>
- </openerp>
|