odoo/addons/web/static/src/js
Xavier Morel b87102f22e [FIX] Inject user context in all domain and context evaluation
Custom keys from user context may be used in action contexts (not just
e.g. searchview filters). For instance, have a custom key
context_salesteam (in the user model) and an action defining some
search default as a function of the salesteam.

In that case, the action's context evaluation (view.js:~275) will blow
up.

Ensure that does not happen.

Note: eval_contexts already injects user_context in the reduction of
contexts to evaluate. It should be possible to alter the reduction
function to avoid having to inject instance.session.user_context
through pyeval.context(), maybe by _.extend-ing ``result_context``
into ``evaluation_context`` at the *top* of the reduction function
rather than at its bottom?

bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2013-01-28 14:06:40 +01:00
..
boot.js [IMP] instance.init: less offensive constant 2012-11-30 18:52:49 +01:00
chrome.js [FIX] avoid storing new admin password in browser history on database creation, courtesy of Holger Brunn 2013-01-25 12:43:31 +01:00
corelib.js [FIX] Fix not working code, and some cleaning proposed by AL 2012-12-26 19:18:33 +01:00
coresetup.js [FIX] Spacing 2012-12-27 08:44:38 +01:00
data.js [FIX] context evaluation in kanban resequencing 2012-11-28 16:10:44 +01:00
data_export.js [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog 2012-11-20 10:50:42 +01:00
dates.js Mark strings to be translated. 2012-11-29 01:22:00 +01:00
formats.js [FIX][7.0]Fixed float_time widget show wrong format of time. 2013-01-22 11:34:20 +05:30
pyeval.js [FIX] Inject user context in all domain and context evaluation 2013-01-28 14:06:40 +01:00
search.js [IMP] add confirmation message when removing a global custom filter 2013-01-23 11:53:20 +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 [IMP] Changed tests according to new client side fields view get 2012-12-05 17:06:56 +01:00
view_form.js [FIX] domain returned by onchange 2013-01-24 15:40:18 +01:00
view_list.js [IMP] desactivate sorting in list view with function fields with store=false 2013-01-03 15:46:51 +01:00
view_list_editable.js [FIX] cancel list edition on search 2012-12-10 11:09:14 +01:00
view_tree.js [IMP] lot of small improvements to better detect when a view has finished loading 2012-12-13 15:09:14 +01:00
views.js [FIX] Fix one custom filter bug (only scratch the surface of this problem) 2013-01-14 10:30:14 +01:00