changeset a76bc3166102 in modules/sale_product_customer:6.2
details:
https://hg.tryton.org/modules/sale_product_customer?cmd=changeset&node=a76bc3166102
description:
Do not inherit access rights from product and template for product
supplier and customer
issue11580
review449121003
(grafted from 68ad207b6db0445910bb7e7e756a37d6d5c29f50)
diffstat:
product.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (15 lines):
diff -r 4490fea8ae70 -r a76bc3166102 product.py
--- a/product.py Wed Jun 15 09:23:22 2022 +0200
+++ b/product.py Sat Jul 09 23:17:58 2022 +0200
@@ -38,11 +38,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):