From fb0d84b24a4f105e4f6caad207ade653ce63e07d Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 23 Aug 2019 14:10:49 +0000 Subject: [PATCH] [FIX] portal: VAT modification The route `/my/account` doesn't implement any restriction for the VAT modification. This allows users to modify the VAT number although they shouldn't. We make the restriction consistent with the backend: https://github.com/odoo/odoo/blob/e0c7a368580dfeac9af8dc3cb3a10fc33bf4b521/odoo/addons/base/res/res_partner_view.xml#L247 opw-2056727 closes odoo/odoo#36031 Signed-off-by: Nicolas Martinelli (nim) --- addons/portal/views/portal_templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index 193c1fdce18..4108a2006b9 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -279,7 +279,8 @@
- + +