changeset bb5545807748 in modules/purchase:6.0
details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=bb5545807748
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 cc5b530e667e -r bb5545807748 product.py
--- a/product.py        Sun Jul 17 00:02:22 2022 +0200
+++ b/product.py        Sat Jul 09 23:17:58 2022 +0200
@@ -298,11 +298,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