openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07847
[Bug 938251] [NEW] [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
Public bug reported:
@@ -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,
File is mrp.py - sorry didn't post patch as I've had to make quite a lot
of changes already to that file but is simple enough.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/938251
Title:
[6.1] [mrp] Translate string uses concatenation instead of modifier
resulting in incorrect stock move name
Status in OpenERP Addons (modules):
New
Bug description:
@@ -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,
File is mrp.py - sorry didn't post patch as I've had to make quite a
lot of changes already to that file but is simple enough.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/938251/+subscriptions
Follow ups
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Alexandre Fayolle @ camptocamp, 2012-12-17
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Victor Tabuenca (OpenERP), 2012-11-13
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Kirti Savalia(OpenERP), 2012-09-28
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Launchpad Bug Tracker, 2012-09-28
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Kirti Savalia(OpenERP), 2012-09-28
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Kirti Savalia(OpenERP), 2012-09-28
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Mayur Maheshwari(OpenERP), 2012-03-12
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Launchpad Bug Tracker, 2012-03-12
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Mayur Maheshwari(OpenERP), 2012-03-12
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Ravish(OpenERP), 2012-02-23
-
[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Ravish(OpenERP), 2012-02-23
-
[Bug 938251] [NEW] [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
From: Graeme Gellatly, 2012-02-21
References