Commit Graph

9 Commits (571bc0e84862722fd2041e37fb2f36cb1698fa7d)

Author SHA1 Message Date
Alexis de Lattre 651813a647 [MIG] report_py3o to v16 2022-12-12 22:52:24 +01:00
Tran Thanh Phuc aa228f0d89 [MIG] report_py3o: Migration to 15.0 2022-12-12 09:31:45 +01:00
Elmeri Niemelä c78902369d [MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä 7f83800b04 [14.0][MIG] report_py3o: Migration to 14.0 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) be6ff706a1 [IMP] report_py3o, report_py3o_fusion_server: black, isort 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) da64b691b0 [IMP] report_py3o: remove obsolete methods 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) e610057c6b [FIX] report_py3o: Use the right naming convention for the render method
To determine the method to use to render a recport according to its type, the generic method 'render' defined into ir.action.report check if a method name  is defined on the model. https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_actions_report.py#L734
Therefore, we must provide this method to be compliant with what's expected by Odoo.
This change will also allows the usage of py3o template with mail_template once https://github.com/odoo/odoo/pull/30013 will be merged
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) b220ba1d57 [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2022-12-12 09:31:45 +01:00
Laurent Mignon 8eb9bfd56d [IMP] report_py3o: Take into account print_report_name
If a Printed Report Name is set on the action report, use it as
downloaded filename
refs #133
2022-12-12 09:31:45 +01:00