<field name="arch" type="xml">
<form string="Bill of Material" version="7.0">
<sheet>
- <label for="product_id" class="oe_edit_only"/>
+ <label for="product_id" string="Product and Quantity" class="oe_edit_only"/>
<h1>
<field name="product_id" on_change="onchange_product_id(product_id, name, context)" class="oe_inline"/>:
<field name="product_qty" class="oe_inline"/>
<field name="product_uom" class="oe_inline" groups="product.group_uom"/>
</h1>
- <label for="routing_id" class="oe_edit_only"/>
- <h2>
- <field name="routing_id" groups="mrp.group_mrp_routings"/>
- </h2>
+ <div groups="mrp.group_mrp_routings">
+ <label for="routing_id" class="oe_edit_only"/>
+ <h2><field name="routing_id" class="oe_inline"/></h2>
+ </div>
<group>
<group>
<field name="name"/>
string="Change Quantity" icon="terp-accessories-archiver+"/>
</div>
<div class="oe_title">
- <label for="product_id" class="oe_edit_only"/>
+ <label for="product_id" string="Product and Quantity" class="oe_edit_only"/>
<h1>
<field name="product_id" on_change="product_id_change(product_id)" domain="[('supply_method','=','produce')]" class="oe_inline"/>:
<field name="product_qty" class="oe_inline"/>
<field name="product_uom" class="oe_inline" groups="product.group_uom"/>
</h1>
- <label for="routing_id" class="oe_edit_only" groups="mrp.group_mrp_routings"/>
- <h2>
- <field name="routing_id" groups="mrp.group_mrp_routings"/>
- </h2>
+ <div groups="mrp.group_mrp_routings">
+ <label for="routing_id" class="oe_edit_only"/>
+ <h2><field name="routing_id" class="oe_inline"/></h2>
+ </div>
</div>
<group>
<group>