odoo/addons/web/static/src/js
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
..
boot.js [IMP] instance.init: less offensive constant 2012-11-30 18:52:49 +01:00
chrome.js [FIX] web: *.openerp.com to *.odoo.com 2014-09-11 09:59:21 +02:00
corelib.js [FIX] docstring 2013-03-01 11:22:23 +01:00
coresetup.js [IMP] cookies: when retrieving session cookie, catch eventual parsing errors and remove cookie if incorrect (opw 605648) 2014-03-27 13:08:26 +01:00
data.js [FIX] web: sort with undefined value 2014-09-11 17:38:40 +02:00
data_export.js [FIX] export: add the context in the export 2014-08-13 14:52:01 +02:00
dates.js Mark strings to be translated. 2012-11-29 01:22:00 +01:00
formats.js [FIX] web: format.js, toString while parsing date 2014-06-24 13:53:02 +02:00
pyeval.js [FIX] pyeval: be more fault tolerant to avoid wrap null values 2013-07-02 16:16:00 +02:00
search.js [FIX] web: date autocompletion should not harcode 'date' 2014-11-14 17:57:10 +01:00
test_support.js [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then' 2012-10-30 15:06:30 +01:00
testing.js [FIX]testing.js: replace testing.case by testing['case'] for compatibility (IOS < 5, IE8) 2013-03-22 11:16:06 +01:00
view_form.js [FIX] web: user lang has the priority on partner lang 2014-12-09 12:52:20 +01:00
view_list.js [IMP] web: do not fully hide pager in grouped view 2014-12-03 15:02:36 +01:00
view_list_editable.js [FIX] web: do not focus if the focus_field is not a field 2014-08-14 17:33:59 +02:00
view_tree.js [FIX] tree views: rename variable parent-id to avoid conflicts with record fields name (eg: account.account) 2013-08-29 14:44:48 +02:00
views.js [FIX] web: keep pager in popup list view 2014-11-04 17:25:21 +01:00