flectra/addons/mrp_byproduct/views/mrp_bom_views.xml

29 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data>
<record id="mrp_subproduct_view" model="ir.ui.view">
<field name="name">mrp.bom.sub.product</field>
<field name="model">mrp.bom</field>
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
<field name="arch" type="xml">
<notebook position="inside">
<page string="Byproducts">
<field name="sub_products">
<tree string="Byproducts" editable="top">
<field name="product_id"/>
<field name="product_qty"/>
<field name="product_uom_id" groups="product.group_uom"/>
</tree>
<form string="Byproducts">
<field name="product_id"/>
<field name="product_qty"/>
<field name="product_uom_id" groups="product.group_uom"/>
</form>
</field>
</page>
</notebook>
</field>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>