-
Committer:
Olivier Dony
-
Date:
2014-04-04 13:38:27 UTC
-
Revision ID:
odo@openerp.com-20140404133827-5owdendpsr083a17
[FIX] domain parsing: better heuristic when a domain uses a date value for a datetime field
This comparison is flawed by nature but can be a useful
shortcut sometimes. It was using wrong boundaries and
would also loop for operators not explicitly handled
by the code (there was no `else` block). It is still
not possible to handle time zone conversions properly,
so this is only an experimental feature.