Merge lp:~openerp-dev/openobject-addons/6.1-opw-581657-ado into lp:openobject-addons/6.1

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 7065
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-581657-ado
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
mrp/mrp.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581657-ado
Reviewer Review Type Date Requested Status
Xavier ALT Pending
Naresh(OpenERP) Pending
Review via email: mp+133873@code.launchpad.net

Description of the change

Hello,

"[FIX] MRP: while confirming the MO the stock move generated and contains %s is added in name"

On stock movements for the finished products of a production order, there is a variable “%s” in the name. That should not be there.

Steps:
1). Create manufacturing order with any product
2). Confirm the order and open stock moves created with above order, You will see the %s in name.

Regards,
Amit

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

7065. By Amit Dodiya<email address hidden>

[FIX] MRP: while confirming the MO the stock move generated and contains %s is added in name

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mrp/mrp.py'
2--- mrp/mrp.py 2012-10-05 10:44:47 +0000
3+++ mrp/mrp.py 2012-11-12 09:00:37 +0000
4@@ -950,7 +950,7 @@
5 stock_move = self.pool.get('stock.move')
6 source_location_id = production.product_id.product_tmpl_id.property_stock_production.id
7 destination_location_id = production.location_dest_id.id
8- move_name = _('PROD: %s') + production.name
9+ move_name = _('PROD: %s') % production.name
10 data = {
11 'name': move_name,
12 'date': production.date_planned,