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

Proposed by Hardik Ansodariya (OpenERP)
Status: Approved
Approved by: Priyesh (OpenERP)
Approved revision: 6808
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-576026-han
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
product/ (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-576026-han
Reviewer Review Type Date Requested Status
Priyesh (OpenERP) (community) Approve
Naresh(OpenERP) Pending
Review via email:

Description of the change



I have update context in price_get_multi method of as it raised warning was not able to translate.

Referencing Maintenance case: 576026


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


This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Naresh Soni

Unmerged revisions

6808. By Hardik Ansodariya (OpenERP)

[FIX] pricelist: Update context as it was none in method and was not able to translate raised exception (Maintanence Case: 576026)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product/'
2--- product/ 2012-01-31 13:36:57 +0000
3+++ product/ 2012-06-21 09:19:33 +0000
4@@ -148,7 +148,7 @@
6 if context is None:
7 context = {}
9+ context.update({'lang': self.pool.get('res.users').context_get(cr, uid, context)['lang']})
10 date = time.strftime('%Y-%m-%d')
11 if 'date' in context:
12 date = context['date']