odoo/addons/web
Denis Ledoux 9f9e7ef0e1 [FIX] web: user lang has the priority on partner lang
Potentialy, the timezone too.

On item action click (such as menus in More.. and Print..), the data in form view had the priority on user context (through the sidebar_eval_context)

Therefore, if a field "lang" was present in the form view (like in partner form), the web/action/load xmlrpc call was using the partner language instead of the user language.

Example of wrong use case before the fix:
 - Set the user language in French, then go to a partner form of a partner with English set as language
  - Click on any button of the partner form, such as the "Invoices" button, notice that the last item of the breadcrumb is in English, instead of Frenh (the user language)
  - Click on any menu opening a wizard in the More.. dropdown menu, notice that the wizard title is in English instead of French
  - Print any report from the Print dropdown menu, notice that the report file name is in English. If you print the same report for the same partner but from the list view, the report file name is in French.
2014-12-09 12:52:20 +01:00
..
cli [FIX] test_js typo 2012-12-09 05:30:15 +01:00
controllers [FIX] web: backport of ebb826a and 2372d30 2014-09-15 12:38:35 +02:00
doc [IMP] PNG recompression 2013-06-05 14:43:27 +02:00
i18n [I18N] Update 7.0 translations with latest changes on Launchpad 2014-08-14 03:38:58 +02:00
static [FIX] web: user lang has the priority on partner lang 2014-12-09 12:52:20 +01:00
tests [FIX] test: correct Mock of search_read 2014-01-23 18:08:36 +01:00
__init__.py minor fixes 2012-12-19 03:49:46 +01:00
__openerp__.py [FIX] correctly handle group_by_no_leaf when no grouping applied 2013-04-16 11:23:44 +02:00
http.py [FIX]Refixed the issue of oe_sessions_effectiveusername storage in temp, used geteuid which returns effective user id. 2013-05-30 14:38:14 +05:30
session.py [IMP] clean permissions and shebang in files 2013-05-14 12:37:36 +02:00