odoo/addons/web/static
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
..
lib [ADD] Amharic (Ethiopia) date/time localization for DateJS, courtesy of Michael Telahun Makonnen. 2013-01-16 11:04:11 +01:00
src [FIX] Inject user context in all domain and context evaluation 2013-01-28 14:06:40 +01:00
test [IMP] Added some test cases for the float_time 2013-01-23 15:01:55 +05:30