Merge lp:~openerp-dev/openobject-addons/6.1-opw-577719-han into lp:openobject-addons/6.1

Proposed by Hardik Ansodariya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6935
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577719-han
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
stock/stock.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577719-han
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+119872@code.launchpad.net

Description of the change

Hello,

Fixed the issue of translation when scrap the product from Delivery Orders.

With reference of maintenance case: 577719

Thanks

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
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

6935. By Hardik Ansodariya (OpenERP)

[FIX] stock: fix the issue of translation when scrap the product (Maintanance case:577719)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/stock.py'
2--- stock/stock.py 2012-08-07 10:04:35 +0000
3+++ stock/stock.py 2012-08-16 09:33:03 +0000
4@@ -2363,7 +2363,7 @@
5
6 res += [new_move]
7 product_obj = self.pool.get('product.product')
8- for (id, name) in product_obj.name_get(cr, uid, [move.product_id.id]):
9+ for (id, name) in product_obj.name_get(cr, uid, [move.product_id.id], context=context):
10 self.log(cr, uid, move.id, "%s x %s %s" % (quantity, name, _("were scrapped")))
11
12 self.action_done(cr, uid, res, context=context)