From c0ee3f423f06e8efd6d6ea4864de7f9054b63c77 Mon Sep 17 00:00:00 2001 From: Nans Lefebvre Date: Mon, 9 Dec 2019 11:34:02 +0000 Subject: [PATCH] [FIX] account: invoice report template for multi-company Be in multi-company with companies C1, C2. Let user U1 in company C1 create a vendor bill V. Then U1 change to company C2. Another user U2, in company C1, tries to print the vendor bill. Traceback: Access error trying to access U1 to render the template opw 2145738 closes odoo/odoo#41977 X-original-commit: 5b7b12c9907d7da03e08df4f5bac2198c3dc9cba Signed-off-by: Nans Lefebvre (len) --- addons/account/views/report_invoice.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 67e375449cb..447d6dd732b 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -218,7 +218,7 @@