[merge] mrp repair improvements

bzr revid: fp@openerp.com-20120806192958-upqa3fxhtkwuw13e
This commit is contained in:
Fabien Pinckaers 2012-08-06 21:29:58 +02:00
parent f814648e4b
commit 0690dbfa99
1 changed files with 4 additions and 4 deletions

View File

@ -44,14 +44,14 @@
<sheet string="Repairs order">
<label for="product_id" class="oe_edit_only"/>
<h1>
<field name="product_id" on_change="onchange_product_id(product_id)" domain="[('type','!=','service')]"/>
</h1>
<label for="name" class="oe_edit_only"/>
<h2>
<field name="name"/>
</h2>
<h1>
Repair Order <field name="name" class="oe_inline"/>
</h1>
<group>
<group>
<field name="product_id" on_change="onchange_product_id(product_id)" domain="[('type','!=','service')]"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id,address_id)" attrs="{'required':[('invoice_method','!=','none')]}"/>
<field name="address_id" attrs="{'readonly':[('deliver_bool','=', False)]}" groups="sale.group_delivery_invoice_address"/>
<field name="move_id" on_change="onchange_move_id(product_id, move_id)" context="{'default_product_id':product_id}"/>