changeset 653ccb75ea96 in modules/purchase:6.4
details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=653ccb75ea96
description:
Do not inherit access rights from product and template for product
supplier and customer
issue11580
review449121003
(grafted from c9377d520421eb4dd33722e69a42b00552ffa008)
diffstat:
product.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 56c595af42e6 -r 653ccb75ea96 product.py
--- a/product.py Fri Jun 03 19:20:24 2022 +0200
+++ b/product.py Sat Jul 09 23:17:58 2022 +0200
@@ -296,11 +296,6 @@
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()
cursor = transaction.connection.cursor()