Do not inherit access rights from product and template for product supplier and customer

issue11580
review449121003
This commit is contained in:
Cédric Krier committed 2022-07-09 23:17:58 +02:00
1 parent 0c564047b6
commit e2ccdb2016
1 file changed
-5
-5
View File
@@ -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()