29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<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>
|
||
|
</odoo>
|