diff options
| author | Raphael Collet <rco@odoo.com> | 2019-10-28 10:38:50 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-28 13:27:35 +0000 |
| commit | eccfdd5512375099d578ccd686fdd71a8cdcec93 (patch) | |
| tree | bebf41b6cf8a23593d3b068e25dec1ecc22f0bfe /odoo/tools/template_inheritance.py | |
| parent | 16f548ed7ac340d9dcc2aecb563b0d7a05dc116b (diff) | |
[FIX] models: filtered_domain on Falsy date/datetime fields
The purpose of this patch is to avoid `filtered_domain` to crash with
domains on date/datetime fields when the fields are `False` on some
records:
records.filtered_domain([('date', '<', '2019-10-28')])
closes odoo/odoo#39449
X-original-commit: dae379adebedb3ed9bd38a2d6925ba6aefef1e7f
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'odoo/tools/template_inheritance.py')
0 files changed, 0 insertions, 0 deletions
