changeset 68ad207b6db0 in modules/sale_product_customer:default
details:
https://hg.tryton.org/modules/sale_product_customer?cmd=changeset&node=68ad207b6db0
description:
Do not inherit access rights from product and template for product
supplier and customer
issue11580
review449121003
diffstat:
product.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 6e0e28a8c969 -r 68ad207b6db0 product.py
--- a/product.py Thu Jun 02 11:21:51 2022 +0200
+++ b/product.py Sat Jul 09 23:17:58 2022 +0200
@@ -36,11 +36,6 @@
name = fields.Char("Name", translate=True)
code = fields.Char("Code")
- @classmethod
- def __setup__(cls):
- super().__setup__()
- cls.__access__.update(['template', 'product'])
-
@fields.depends(
'product', '_parent_product.template')
def on_change_product(self):