diff options
| author | Goffin Simon <sig@odoo.com> | 2020-11-17 09:53:29 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-11-17 10:04:06 +0000 |
| commit | d652dbb9655d98b4121ac685e6444bbf7e303292 (patch) | |
| tree | d35e69062236e46181cf0210d08b689aeee2c9cd /addons/fleet | |
| parent | bf4683632dd47f5114224f3e40b4afecd276e801 (diff) | |
[FIX] fleet: Impossible to upgrade fleet
With PostgreSQL version 9.6, it was impossible to install the module fleet
A traceback was raised saying:
could not determine which collation to use for view column "cost_type"
closes odoo/odoo#61829
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/fleet')
| -rw-r--r-- | addons/fleet/report/fleet_report.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/fleet/report/fleet_report.py b/addons/fleet/report/fleet_report.py index ddd3605ca39..0b02c05e5df 100644 --- a/addons/fleet/report/fleet_report.py +++ b/addons/fleet/report/fleet_report.py @@ -111,7 +111,7 @@ SELECT fuel_type, date_start, COST, - cost_type + 'service' as cost_type FROM service_costs sc UNION ALL ( @@ -124,7 +124,7 @@ UNION ALL ( fuel_type, date_start, COST, - cost_type + 'contract' as cost_type FROM contract_costs cc) """ |
