Merge pull request #311 from AlainVanUtterbeeck/9.0
[9.0][mis_builder] fix compatibility with report-print-sendpull/321/head
commit
cf54e3b6ed
|
@ -25,3 +25,9 @@ class Report(models.Model):
|
|||
return super(Report, self).get_pdf(cr, uid, ids, report_name,
|
||||
html=html, data=data,
|
||||
context=context)
|
||||
|
||||
@api.v8
|
||||
def get_pdf(self, docids, report_name, html=None, data=None):
|
||||
return self._model.get_pdf(self._cr, self._uid,
|
||||
docids, report_name,
|
||||
html=html, data=data, context=self._context)
|
||||
|
|
Loading…
Reference in New Issue