mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[PEP8]
This commit is contained in:
committed by
Carlos Roca
parent
965028ac3a
commit
440d354e55
@@ -25,7 +25,8 @@
|
||||
'name': "Report to printer",
|
||||
'version': '0.1.1',
|
||||
'category': 'Generic Modules/Base',
|
||||
'author': "Agile Business Group & Domsense, Pegueroles SCP, NaN,Odoo Community Association (OCA)",
|
||||
'author': "Agile Business Group & Domsense, Pegueroles SCP, NaN,"
|
||||
"Odoo Community Association (OCA)",
|
||||
'website': 'http://www.agilebg.com',
|
||||
'license': 'AGPL-3',
|
||||
"depends": ['base',
|
||||
|
||||
@@ -46,9 +46,10 @@ class Report(models.Model):
|
||||
|
||||
@api.v8
|
||||
def print_document(self, records, report_name, html=None, data=None):
|
||||
return self._model.print_document(self._cr, self._uid,
|
||||
records.ids, report_name,
|
||||
html=html, data=data, context=self._context)
|
||||
return self._model.print_document(
|
||||
self._cr, self._uid,
|
||||
records.ids, report_name,
|
||||
html=html, data=data, context=self._context)
|
||||
|
||||
def _can_print_report(self, cr, uid, ids, behaviour, printer, document,
|
||||
context=None):
|
||||
@@ -88,4 +89,4 @@ class Report(models.Model):
|
||||
def get_pdf(self, records, report_name, html=None, data=None):
|
||||
return self._model.get_pdf(self._cr, self._uid,
|
||||
records.ids, report_name,
|
||||
html=html, data=data, context=self._context)
|
||||
html=html, data=data, context=self._context)
|
||||
|
||||
Reference in New Issue
Block a user