Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-opw-576026-port-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-576026-port-mma/+merge/132467

Hello,

          I have update context in price_get_multi method of pricelist.py as it 
raised warning was not able to translate.
          Code is forward port from 6.1

Thanks
Mayur
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-576026-port-mma/+merge/132467
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-576026-port-mma.
=== modified file 'product/pricelist.py'
--- product/pricelist.py	2012-10-09 06:38:14 +0000
+++ product/pricelist.py	2012-11-01 08:59:20 +0000
@@ -148,6 +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:

_______________________________________________
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

Reply via email to