Do not inherit access rights from product and template for product supplier and customer
issue11580 review449121003
This commit is contained in:
1 parent
0c564047b6
commit
e2ccdb2016
1 file changed
-5
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user