Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-938251-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (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/trunk-bug-938251-mma/+merge/96969
Hello,
mrp: I Have Improved name of move
Thanks.
mma
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-938251-mma/+merge/96969
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-938251-mma.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py 2012-02-13 18:07:41 +0000
+++ mrp/mrp.py 2012-03-12 05:35:24 +0000
@@ -926,7 +926,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