summaryrefslogtreecommitdiff
path: root/addons/base_setup/data/base_setup_data.xml
diff options
context:
space:
mode:
authorLaurent Mignon (ACSONE) <laurent.mignon@acsone.eu>2019-01-07 16:32:18 +0000
committerNans Lefebvre <len@odoo.com>2019-04-17 18:23:08 +0000
commitd637fe401038a2d5c1e3420a9ee54335eef89742 (patch)
treebfc9654beb3399056f988e0e7cef99a2eb9aaf96 /addons/base_setup/data/base_setup_data.xml
parent2830b93a3a7ca575bd6a29c34c50c902bb5c8913 (diff)
[IMP] mail: restore support for all report_types in mail attachments
Commit 48018411 introduced a new ir.action.report type: qweb-text. Commit 3425752 introduced an explicit check on the type, for html or pdf. This removed the ability to support arbitrary reports through the call to the generic render method, which dispatches to the correct one for a report_type. We add support for the text format following the same logic. The explicit error will be raised if the rendering fails, e.g. in the case where the render method is not defined. Thanks to @gdgellatly for reporting. opw 1966208 closes #28513 closes #30013 closes #32532 closes odoo/odoo#32773 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions