summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-01-16 19:27:50 +0100
committerThibault Delavallée <tde@openerp.com>2014-01-16 19:27:50 +0100
commitc76a3aba8fa7947ac6fcb9f563f35cb25a562072 (patch)
treeedb51805f3d505759aea249f803ece567f193277 /addons/analytic_user_function/analytic_user_function_view.xml
parent8af1afb1a0d45c67ee4665b61bfe3c916c970783 (diff)
[CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins - removed undefined_handler, hardcoded to a lambda function that returns None for a missing attribute tools.safe_eval: added a parameter locals_builtins. This allows to copy the builtins in the locals. This hack is due to the fact that the locals always returns None, allowing to simplify templates. Otherwise we would have to test the existence of each variable before actually using it. However as the locals always return None for every key, the globals are never checked. Copying the builtins inside the local allows to have a complete locals, but sligtly break the globals/locals separation. To be reviewed and approved. bzr revid: tde@openerp.com-20140116182750-1rnw8iljt5a9gb4u
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions