Hardik Ansodariya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-576026-han into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576026-han/+merge/111361
Hello,
Hello,
I have update context in price_get_multi method of pricelist.py as it raised
warning was not able to translate.
Referencing Maintenance case: 576026
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576026-han/+merge/111361
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-576026-han.
=== modified file 'product/pricelist.py'
--- product/pricelist.py 2012-01-31 13:36:57 +0000
+++ product/pricelist.py 2012-06-21 09:19:33 +0000
@@ -148,7 +148,7 @@
if context is None:
context = {}
-
+ context.update({'lang': self.pool.get('res.users').context_get(cr, uid, context)['lang']})
date = time.strftime('%Y-%m-%d')
if 'date' in context:
date = context['date']
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp