Browse Source

pylint: disable=old-api7-method-defined

pull/284/head
Luc De Meyer 6 years ago
parent
commit
6fdc344ae0
  1. 1
      report_xlsx_helper/report/abstract_report_xlsx.py

1
report_xlsx_helper/report/abstract_report_xlsx.py

@ -14,6 +14,7 @@ from odoo.exceptions import UserError
class AbstractReportXlsx(ReportXlsx):
# pylint: disable=old-api7-method-defined
def create(self, cr, uid, ids, data, context=None):
if context.get('xlsx_export'):
self.env = api.Environment(cr, uid, context)

Loading…
Cancel
Save