Commit Graph

4 Commits (b81219abd33d56e6068212d5bb10587b06d3db95)

Author SHA1 Message Date
Laurent Mignon (ACSONE) b81219abd3 [IMP] report_py3o: remove obsolete methods 2019-01-08 10:53:36 +01:00
Laurent Mignon (ACSONE) 6aa8f4aa5a [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
2019-01-08 10:12:26 +01:00
Laurent Mignon (ACSONE) dce59162ce [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2018-11-26 17:58:30 +01:00
Laurent Mignon 0fbd3538f9 [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
2018-11-23 17:29:00 +01:00