diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-05-26 13:16:01 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2017-05-26 15:02:29 +0200 |
| commit | 9009c5375ee0dec0fdf5c6257065066ef5a3f6f7 (patch) | |
| tree | 4c303d96151374526282e91df2607915a5c568ec /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 0c28dbf969233990eab01c52abd3f214cc299071 (diff) | |
[FIX] web: fix various issues with eval contexts
Eval contexts are not easy... They should be different when sent to the
server and when evaluated in the web client. In this commit, we fix
some small issues:
- when evaluated on the web client, x2manys should be a list of ids,
when sent to the server, it should be a list of commands
- dates should be converted to string
- always add current_date in the evaluation context, as a magic key (it
was previously only available in row decoration context evaluations)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
