Ravish(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-989399-rmu into 
lp:openobject-addons.

Requested reviews:
  Amit Parik (OpenERP) (amp-openerp)
  OpenERP Core Team (openerp)
Related bugs:
  Bug #989399 in OpenERP Addons: "mrp.py move name incorrect"
  https://bugs.launchpad.net/openobject-addons/+bug/989399

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-989399-rmu/+merge/103803

Hello,

I have just improve the code of method _make_production_produce_line method's 
field move_name in mrp

Thanks!!
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-989399-rmu/+merge/103803
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-989399-rmu.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py	2012-04-18 13:41:43 +0000
+++ mrp/mrp.py	2012-04-27 06:21:18 +0000
@@ -947,7 +947,7 @@
         stock_move = self.pool.get('stock.move')
         source_location_id = production.product_id.product_tmpl_id.property_stock_production.id
         destination_location_id = production.location_dest_id.id
-        move_name = _('PROD: %s') + production.name
+        move_name = _('PROD: %s') % production.name
         data = {
             'name': move_name,
             'date': production.date_planned,

_______________________________________________
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

Reply via email to