diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2016-08-10 08:20:18 +0200 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2016-08-10 09:11:23 +0200 |
| commit | a5eb720875092c4c10e16d8c0db8226d5a0dc53a (patch) | |
| tree | 9d804a7258dbdc9431c3640ce556bfd109822943 /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | 5d7be21e283e4b8f43d5c0f5809944f9e9aebe33 (diff) | |
[FIX] web: check if second date exists in search_filters
After commit 6739e10, we have two widgets to be able to choose
two dates according to the operator (e.g. between).
So, the second widget is not always available.
'toString' generates the string to put in the facet and should
convert the second date only if the second widget exists.
Before this commit, it was not possible to make search filters with
only one date because we try to get value of widget that does not exist.
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions
