changeset 6a0841360c1d in modules/sale_product_customer:6.4
details: 
https://hg.tryton.org/modules/sale_product_customer?cmd=changeset&node=6a0841360c1d
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 550114ca083c -r 6a0841360c1d product.py
--- a/product.py        Wed Jun 15 09:22: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):

Reply via email to