Browse Source
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 mergedpull/258/head
Laurent Mignon (ACSONE)
6 years ago
2 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue