Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-579756-ksa into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #938251 in OpenERP Addons: "[6.1] [mrp] Translate string uses 
concatenation instead of modifier resulting in incorrect stock move name"
  https://bugs.launchpad.net/openobject-addons/+bug/938251

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-579756-ksa/+merge/126930

Hello,

In MRP production name in stock move with % sign.

Thanks
KSA
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-579756-ksa/+merge/126930
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-579756-ksa.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py	2012-07-23 08:44:52 +0000
+++ mrp/mrp.py	2012-09-28 11:22:25 +0000
@@ -929,7 +929,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