From 8c7bde04d7c61f223bfd19bb348222685e0881a2 Mon Sep 17 00:00:00 2001 From: git_admin Date: Sat, 2 May 2026 07:02:09 +0000 Subject: [PATCH] Tower: upload om_account_followup 19.0.1.0.2 (was 1.0.2, via marketplace) --- .../wizard/followup_results.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 addons/om_account_followup/wizard/followup_results.py diff --git a/addons/om_account_followup/wizard/followup_results.py b/addons/om_account_followup/wizard/followup_results.py new file mode 100644 index 0000000..6ddd518 --- /dev/null +++ b/addons/om_account_followup/wizard/followup_results.py @@ -0,0 +1,21 @@ +from odoo import api, fields, models, _ + + +class FollowupSendingResults(models.TransientModel): + _name = 'followup.sending.results' + _description = 'Results from the sending of the different letters and emails' + + def do_report(self): + return self.env.context.get('report_data') + + def do_done(self): + return {} + + def _get_description(self): + return self.env.context.get('description') + + def _get_need_printing(self): + return self.env.context.get('needprinting') + + description = fields.Html("Description", readonly=True, default=_get_description) + needprinting = fields.Boolean("Needs Printing", default=_get_need_printing)