Twinkle Christian(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons7-bom-field-on-top-tch into
lp:~openerp-dev/openobject-addons/trunk-addons7.
Requested reviews:
Jigar Amin (OpenERP) (jam-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons7-bom-field-on-top-tch/+merge/122453
Hello Sir,
I had replaced the bill of material field from bottom to top.
kindly review this.
Thanks,
TCH.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons7-bom-field-on-top-tch/+merge/122453
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons7.
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml 2012-09-03 05:05:01 +0000
+++ mrp/mrp_view.xml 2012-09-03 07:13:20 +0000
@@ -619,10 +619,16 @@
<field name="state" widget="statusbar" statusbar_visible="draft,ready,in_production,done" statusbar_colors='{"picking_except":"red","confirmed":"blue"}'/>
</header>
<sheet>
- <label for="product_id" class="oe_edit_only"/>
- <h1>
- <field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','<>',False),('bom_ids.bom_id','=',False)]" context="{'default_supply_method':'produce'}" class="oe_inline"/>
- </h1>
+ <group>
+ <group>
+ <label for="product_id" class="oe_edit_only"/>
+ <h1><field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','<>',False),('bom_ids.bom_id','=',False)]" context="{'default_supply_method':'produce'}" class="oe_inline"/></h1>
+ </group>
+ <group>
+ <label for="bom_id" class="oe_edit_only"/>
+ <h1><field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)" class="oe_inline"/></h1>
+ </group>
+ </group>
<label for="product_qty" class="oe_edit_only"/>
<h2>
<field name="product_qty" class="oe_inline"/>
@@ -655,9 +661,6 @@
<notebook>
<page string="Consumed Products">
<group>
- <group>
- <field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)"/>
- </group>
<group groups="stock.group_locations">
<field name="location_src_id" domain="[('usage','=','internal')]" on_change="location_id_change(location_src_id,location_dest_id)"/>
<field name="location_dest_id" domain="[('usage','=','internal')]"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp