From 9434ee850fdf322c8ac126209d7da8f31a9c959a Mon Sep 17 00:00:00 2001 From: Nathan de Pryck Date: Fri, 22 Feb 2019 10:55:56 +0000 Subject: [PATCH] [FIX] sale: Correct fiscal position access right The issue happened when a user which does not have access to some fiscal position try to print a sale order. In this case a traceback is generated. In order to avoid the traceback and to be able to print the report the access rights are bypass thanks to a sudo() in the report. OPW-1943727 closes odoo/odoo#31357 --- addons/sale/report/sale_report_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sale/report/sale_report_templates.xml b/addons/sale/report/sale_report_templates.xml index 8e678b1fcd6..60757646486 100644 --- a/addons/sale/report/sale_report_templates.xml +++ b/addons/sale/report/sale_report_templates.xml @@ -192,9 +192,9 @@

-

+

Fiscal Position Remark: - +