[6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name
Bug #938251 reported by
Graeme Gellatly
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
6.1 |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team | |||
Trunk |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
@@ -926,7 +926,7 @@
stock_move = self.pool.
- move_name = _('PROD: %s') + production.name
+ move_name = _('PROD: %s') % production.name
data = {
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.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-938251-mma
Rejected
for merging
into
lp:openobject-addons
- Purnendu Singh (OpenERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedmrp/mrp.py (+1/-1)
lp:~openerp-dev/openobject-addons/6.1-opw-579756-ksa
Rejected
for merging
into
lp:openobject-addons/6.1
- Naresh(OpenERP): Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedmrp/mrp.py (+1/-1)
Changed in openobject-addons: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
I have checked with using % . It is printing PROD: MO/00016(just for example) instead of PROD: %sMO/00015.
So I am assign it to responsible team.
Thanks!!