pylint: disable=old-api7-method-defined
parent
41de759332
commit
ea13f1bb35
|
@ -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…
Reference in New Issue