diff --git a/addons/sale/controllers/portal.py b/addons/sale/controllers/portal.py index 7705f10e4e9..0796b65dead 100644 --- a/addons/sale/controllers/portal.py +++ b/addons/sale/controllers/portal.py @@ -147,7 +147,7 @@ class CustomerPortal(CustomerPortal): return request.redirect('/my') if report_type in ('html', 'pdf', 'text'): - return self._show_report(model=order_sudo, report_type=report_type, report_ref='sale.report_web_quote', download=download) + return self._show_report(model=order_sudo, report_type=report_type, report_ref='sale.action_report_saleorder', download=download) # use sudo to allow accessing/viewing orders for public user # only if he knows the private token diff --git a/addons/sale/report/sale_report.xml b/addons/sale/report/sale_report.xml index 7b7835c61c2..9c9addca79b 100644 --- a/addons/sale/report/sale_report.xml +++ b/addons/sale/report/sale_report.xml @@ -21,18 +21,5 @@ name="sale.report_saleorder_pro_forma" print_report_name="'PRO-FORMA - %s' % (object.name)" /> - - diff --git a/addons/sale/report/sale_report_templates.xml b/addons/sale/report/sale_report_templates.xml index 72816ae3941..9a7647180d3 100644 --- a/addons/sale/report/sale_report_templates.xml +++ b/addons/sale/report/sale_report_templates.xml @@ -232,19 +232,4 @@ - -