From 8be7eed9ca325e2c12ed0da741bb307640369969 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 26 Nov 2015 15:36:11 +0100 Subject: [PATCH] [FIX] sale, portal_sale: hide buttons for portal users When a portal user opened his quotation form, all buttons of the regular form were available. They were not working, due the access rights, but it's better to hide them. opw-657654 --- addons/portal_sale/portal_sale_view.xml | 3 +++ addons/sale/wizard/sale_make_invoice_advance.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/addons/portal_sale/portal_sale_view.xml b/addons/portal_sale/portal_sale_view.xml index 8600d9e4062..825d2349f5a 100644 --- a/addons/portal_sale/portal_sale_view.xml +++ b/addons/portal_sale/portal_sale_view.xml @@ -20,6 +20,9 @@ +
+ +
diff --git a/addons/sale/wizard/sale_make_invoice_advance.xml b/addons/sale/wizard/sale_make_invoice_advance.xml index 1425990d52c..397e14ad3ee 100644 --- a/addons/sale/wizard/sale_make_invoice_advance.xml +++ b/addons/sale/wizard/sale_make_invoice_advance.xml @@ -47,6 +47,7 @@ form form new +