|
@ -2,7 +2,7 @@ |
|
|
# © 2016 Julien Coux (Camptocamp) |
|
|
# © 2016 Julien Coux (Camptocamp) |
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
|
|
|
|
|
|
|
from openerp import models, fields, api |
|
|
|
|
|
|
|
|
from odoo import models, fields, api |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AgedPartnerBalanceReport(models.TransientModel): |
|
|
class AgedPartnerBalanceReport(models.TransientModel): |
|
@ -194,7 +194,7 @@ class AgedPartnerBalanceReportCompute(models.TransientModel): |
|
|
else: |
|
|
else: |
|
|
report_name = 'account_financial_report_qweb.' \ |
|
|
report_name = 'account_financial_report_qweb.' \ |
|
|
'report_aged_partner_balance_qweb' |
|
|
'report_aged_partner_balance_qweb' |
|
|
return self.env['report'].get_action(records=self, |
|
|
|
|
|
|
|
|
return self.env['report'].get_action(docids=self.ids, |
|
|
report_name=report_name) |
|
|
report_name=report_name) |
|
|
|
|
|
|
|
|
def _prepare_report_open_items(self): |
|
|
def _prepare_report_open_items(self): |
|
|