Files
odoo_source/addons
SEINLET Nicolas 48ccbe67c6 [IMP] account: make sequence indexable
the search for sequence include a criteria `date_trunc('year', date) =
date_trunc('year', '2017-10-01'::date)` Which is translated by query
planner in `date_trunc('year'::text, date::timestamp with time zone)`.
As it's mutable thanks to the time zone, it's not indexable. Enforcing
the `without timezone` makes the query planner use an immutable
`date_trunc('year'::text, date::timestamp without time zone)`. As it's
immutable, it's indexable.

closes odoo/odoo#56244

X-original-commit: 70f671a32a504c6aa92fd19e38e6151c10b2325b
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-08-20 16:40:23 +00:00
..
2020-08-14 23:06:24 +00:00
2020-06-12 09:47:48 +00:00
2020-08-14 09:56:10 +00:00
2020-08-11 12:41:13 +00:00
2020-08-14 09:56:10 +00:00
2020-08-20 14:23:15 +00:00
…
2020-08-17 15:59:03 +00:00