pylint: disable=old-api7-method-defined

This commit is contained in:
Luc De Meyer
2018-08-10 17:18:40 +02:00
committed by Saran440
parent b88ed0bd23
commit 900bf468d1

View File

@@ -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)