Browse Source

Merge pull request #311 from AlainVanUtterbeeck/9.0

[9.0][mis_builder] fix compatibility with report-print-send
pull/321/head
Stéphane Bidoul (ACSONE) 8 years ago
committed by GitHub
parent
commit
cf54e3b6ed
  1. 6
      mis_builder/report/mis_report_instance_qweb.py

6
mis_builder/report/mis_report_instance_qweb.py

@ -25,3 +25,9 @@ class Report(models.Model):
return super(Report, self).get_pdf(cr, uid, ids, report_name, return super(Report, self).get_pdf(cr, uid, ids, report_name,
html=html, data=data, html=html, data=data,
context=context) 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…
Cancel
Save