Chirag Patel (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-574589-cpa into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574589-cpa/+merge/106378

Hello,

Context 'lang' value change when click on sidebar action in form view.

Current language is English.

Demo: Sales > Address book > Customers
1) Create new customer.
2) In customer form view set 'Language' field with any other language(not 
English).
3) Click on sidebar any Action(e.g.Send an SMS)

Observed: 'Send an SMS' dialog's all fields and buttons language not English.  
Expected: 'Send an SMS' dialog's all fields and buttons language should be 
English.

Thanks.



-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574589-cpa/+merge/106378
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-574589-cpa.
=== modified file 'addons/web/common/session.py'
--- addons/web/common/session.py	2012-02-10 16:43:09 +0000
+++ addons/web/common/session.py	2012-05-18 13:44:18 +0000
@@ -191,7 +191,7 @@
             **(context or {}))
         
         # adding the context of the session to send to the openerp server
-        ccontext = nonliterals.CompoundContext(self.context, context_to_eval or {})
+        ccontext = nonliterals.CompoundContext(context_to_eval or {}, self.context)
         ccontext.session = self
         return ccontext.evaluate(ctx)
 

_______________________________________________
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