mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
pylint: disable=old-api7-method-defined
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user