[IMP] mrp: improve titles in form views of BoM and Manufacturing order

bzr revid: rco@openerp.com-20120627095718-tetbrm2s3dd6pimu
This commit is contained in:
Raphael Collet 2012-06-27 11:57:18 +02:00
parent b1761e964b
commit c48d9bd23c
1 changed files with 10 additions and 10 deletions

View File

@ -334,16 +334,16 @@
<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"/>
@ -639,16 +639,16 @@
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>