Kirti Savalia(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-807521-ksa into
lp:openobject-addons.
Requested reviews:
Rucha (Open ERP) (rpa-openerp)
Related bugs:
Bug #807521 in OpenERP Addons: "Production order with automatic move"
https://bugs.launchpad.net/openobject-addons/+bug/807521
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-807521-ksa/+merge/70109
Automatic movement for one location to another location of production order.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-807521-ksa/+merge/70109
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-807521-ksa.
=== modified file 'mrp/stock.py'
--- mrp/stock.py 2011-04-07 11:32:08 +0000
+++ mrp/stock.py 2011-08-02 05:03:38 +0000
@@ -112,6 +112,7 @@
production_obj = self.pool.get('mrp.production')
wf_service = netsvc.LocalService("workflow")
for move in self.browse(cr, uid, ids):
+ move.action_confirm(context)
new_moves = super(StockMove, self).action_consume(cr, uid, [move.id], product_qty, location_id, context=context)
production_ids = production_obj.search(cr, uid, [('move_lines', 'in', [move.id])])
for prod in production_obj.browse(cr, uid, production_ids, context=context):
_______________________________________________
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