Hardik Sanchawat (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-mrp-hsa into lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mrp-hsa/+merge/125165
Hello,
I Improved MRP Module in that
- Rename the menu "Master Data" into "Products"
- Add Products below BOM
- BOM field required in the view
- Add tooltip on BOM.
Thanks
- HSA
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mrp-hsa/+merge/125165
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-mrp-hsa.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py 2012-09-12 11:30:46 +0000
+++ mrp/mrp.py 2012-09-19 10:59:30 +0000
@@ -461,7 +461,8 @@
'date_start': fields.datetime('Start Date', select=True, readonly=True),
'date_finished': fields.datetime('End Date', select=True, readonly=True),
- 'bom_id': fields.many2one('mrp.bom', 'Bill of Material', domain=[('bom_id','=',False)], readonly=True, states={'draft':[('readonly',False)]}),
+ 'bom_id': fields.many2one('mrp.bom', 'Bill of Material', domain=[('bom_id','=',False)], readonly=True, states={'draft':[('readonly',False)]},
+ help="Bills of Materials allow you to define the list of required raw materials required to make a finished product."),
'routing_id': fields.many2one('mrp.routing', string='Routing', on_delete='set null', readonly=True, states={'draft':[('readonly',False)]},
help="The list of operations (list of work centers) to produce the finished product. The routing is mainly used to compute work center costs during operations and to plan future loads on work centers based on production plannification."),
'picking_id': fields.many2one('stock.picking', 'Picking List', readonly=True, ondelete="restrict",
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml 2012-09-17 14:47:40 +0000
+++ mrp/mrp_view.xml 2012-09-19 10:59:30 +0000
@@ -13,7 +13,7 @@
parent="base.menu_mrp_root"
sequence="1"/>
- <menuitem name="Master Data"
+ <menuitem name="Products"
id="menu_mrp_bom"
parent="base.menu_mrp_root"
sequence="5"/>
@@ -521,6 +521,10 @@
id="menu_mrp_bom_form_action"
parent="menu_mrp_bom"
sequence="10"/>
+ <menuitem name="Products"
+ id="menu_procurement_partner_contact_form"
+ action="product.product_normal_action_puchased"
+ parent="menu_mrp_bom"/>
<menuitem
action="mrp_bom_form_action2"
id="menu_mrp_bom_form_action2"
@@ -644,7 +648,7 @@
<field name="date_planned"/>
</group>
<group>
- <field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)"/>
+ <field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)" required="1"/>
<field name="routing_id" class="oe_inline" groups="mrp.group_mrp_routings"/>
<field name="user_id"/>
<field name="origin"/>
_______________________________________________
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