Browse Source

greenify

pull/311/head
Luc De Meyer 5 years ago
parent
commit
f5bf4d506f
  1. 2
      report_xlsx_helper/report/report_xlsx_abstract.py
  2. 1
      report_xlsx_helper_demo/report/partner_export_xlsx.py

2
report_xlsx_helper/report/report_xlsx_abstract.py

@ -505,7 +505,7 @@ class ReportXlsxAbstract(models.AbstractModel):
cell_type = 'datetime' cell_type = 'datetime'
elif isinstance(cell_value, date): elif isinstance(cell_value, date):
cell_value = datetime.combine( cell_value = datetime.combine(
cell_value, datetime.min.time())
cell_value, datetime.min.time())
cell_type = 'datetime' cell_type = 'datetime'
else: else:
if not cell_value: if not cell_value:

1
report_xlsx_helper_demo/report/partner_export_xlsx.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat. # Copyright 2009-2018 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

Loading…
Cancel
Save