changeset c9377d520421 in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=c9377d520421
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 409ed6796a4a -r c9377d520421 product.py
--- a/product.py        Tue Jun 21 23:40:00 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()

Reply via email to