From 552da8dc8d55962c69dcdfec6fc4509f61cb27f1 Mon Sep 17 00:00:00 2001 From: Nans Lefebvre Date: Thu, 28 Mar 2019 10:41:23 +0000 Subject: [FIX] account: do not allow a user to have both B2B and B2C groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We base ourselves on commit f206714af08, which added a check on user groups. The tax-included and tax excluded displays are meant to be exclusive, but wily users can add themselves to both groups using the res_users view in debug mode. opw 1950833 closes odoo/odoo#32200 Signed-off-by: Jérémy Kersten (jke) --- addons/account/models/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/account/models/__init__.py') diff --git a/addons/account/models/__init__.py b/addons/account/models/__init__.py index b6b023055b8..5f99c57e04d 100644 --- a/addons/account/models/__init__.py +++ b/addons/account/models/__init__.py @@ -19,3 +19,4 @@ from . import reconciliation_widget from . import account_incoterms from . import digest from . import account_invoice_import_wizard +from . import res_users -- cgit v1.2.3