Files
Odoo-18.0-20251222/partner_statement/wizard/outstanding_statement_wizard.py
mreficent c6b12f0cea [MIG] partner_statement: Migration to 13.0
[UPD] Update partner_statement.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-partner_statement
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement/
2025-07-22 12:17:12 +02:00

20 lines
624 B
Python

# Copyright 2018 ForgeFlow, S.L. (http://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import models
class OutstandingStatementWizard(models.TransientModel):
"""Outstanding Statement wizard."""
_name = "outstanding.statement.wizard"
_inherit = "statement.common.wizard"
_description = "Outstanding Statement Wizard"
def _export(self):
"""Export to PDF."""
data = self._prepare_statement()
return self.env.ref(
"partner_statement.action_print_outstanding_statement"
).report_action(self.ids, data=data)