diff options
| author | Mohammed Shekha <msh@openerp.com> | 2018-11-30 13:34:09 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-05-16 14:42:41 +0000 |
| commit | 90d86e07dd530755cd52774932f9f613f17a3b49 (patch) | |
| tree | 5c6b817355d6b92e9b86d39c4e639156ce46ba76 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 272359b86c030c814a1a68fca1577c57bbfbc5be (diff) | |
[FIX] tools: allow using datetime in function call
Traceback generated when trying to pass a datetime object into a function tag
in xml.
<function name="action_name" model="model_name" eval="datetime.date.today"/>
Used to fail.
With this commit now one can pass time, datetime, timedelta, relativedelta,
version, ref, pytz in function tag in xml
Task-id: 1772614
Closes odoo/odoo#29212
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Co-authored-by: Dhaval Limbuwala <dli@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
