summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-06-06 14:35:08 +0200
committerXavier Morel <xmo@openerp.com>2012-06-06 14:35:08 +0200
commit85f95e685822bc34876968408aca394f6261d54e (patch)
tree405972579d7622557a4533afc7ff5cff1fd270ce /addons/analytic_user_function/analytic_user_function.py
parentbc25bd8cce69ca8c174b346c702607be98a3a721 (diff)
parent47815f1c0a1f60f45023c63a0637dd5e19659426 (diff)
[FIX] handling of empty domains, context and view_id in action descriptors
* Some literal actions (not stored) provide an empty string for domains and contexts instead of (respectively) an empty array or an empty dict literal inside the string. Treat those case as nothing being provided. * Likewise some literal actions provide nonsensical (but falsy, but not False) values for view_id (such as an empty list). Yield a ``False`` view_id for all falsy ``view_id`` received (``0`` should not be a valid view_id, so ``False`` works) bzr revid: xmo@openerp.com-20120606123508-ndh3jpzw1nabf98n
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions