Browse Source

[FIX] mis_builder: in some cases with other report, ids isn't initialized

pull/86/head
Adrien Peiffer (ACSONE) 10 years ago
committed by Stéphane Bidoul
parent
commit
fb93cf3b91
  1. 1
      mis_builder/report/report_mis_report_instance.py

1
mis_builder/report/report_mis_report_instance.py

@ -55,6 +55,7 @@ class Report(models.Model):
@api.v7
def get_pdf(self, cr, uid, ids, report_name, html=None, data=None,
context=None):
if ids:
report = self._get_report_from_name(cr, uid, report_name)
obj = self.pool[report.model].browse(cr, uid, ids,
context=context)[0]

Loading…
Cancel
Save