|
@ -190,11 +190,8 @@ class AgedPartnerBalanceReportCompute(models.TransientModel): |
|
|
self.compute_data_for_report() |
|
|
self.compute_data_for_report() |
|
|
report_name = 'account_financial_report_qweb.' \ |
|
|
report_name = 'account_financial_report_qweb.' \ |
|
|
'report_aged_partner_balance_qweb' |
|
|
'report_aged_partner_balance_qweb' |
|
|
return { |
|
|
|
|
|
'type': 'ir.actions.report.xml', |
|
|
|
|
|
'report_name': report_name, |
|
|
|
|
|
'datas': {'ids': [self.id]}, |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return self.env['report'].get_action(records=self, |
|
|
|
|
|
report_name=report_name) |
|
|
|
|
|
|
|
|
@api.multi |
|
|
@api.multi |
|
|
def compute_data_for_report(self): |
|
|
def compute_data_for_report(self): |
|
|