From e2ccdb201691de0fe521d552b00991e7d0b3eb8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 9 Jul 2022 23:17:58 +0200 Subject: [PATCH] Do not inherit access rights from product and template for product supplier and customer issue11580 review449121003 --- product.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/product.py b/product.py index 56dcf98eb9..f447a0d5ef 100644 --- a/product.py +++ b/product.py @@ -295,11 +295,6 @@ class ProductSupplier( uom = fields.Function( fields.Many2One('product.uom', "UOM"), 'on_change_with_uom') - @classmethod - def __setup__(cls): - super().__setup__() - cls.__access__.update(['product', 'template']) - @classmethod def __register__(cls, module_name): transaction = Transaction()