From 8a86a3395ec418e5e4bf2bdf8310f72ab0843607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Thu, 22 May 2025 10:59:36 +0200 Subject: [PATCH] Use class access model when testing for parent access (grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e) --HG-- branch : 6.0 --- trytond/trytond/tests/test_access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/trytond/tests/test_access.py b/trytond/trytond/tests/test_access.py index 41649fdf99..2f7f2da10e 100644 --- a/trytond/trytond/tests/test_access.py +++ b/trytond/trytond/tests/test_access.py @@ -261,7 +261,7 @@ class _ModelAccessTestCase(unittest.TestCase): pool = Pool() Group = pool.get('res.group') ModelAccess = pool.get('ir.model.access') - TestAccess = pool.get('test.access') + TestAccess = pool.get(self.model_name) record, = TestAccess.create([{}]) group, = Group.create([{'name': 'Test'}]) Group.write([self.group], {