Remove old-style of super() calls

This commit is contained in:
Nicolas Évrard
2025-04-04 00:45:18 +02:00
parent 5781a49606
commit cbdad75620
350 changed files with 1235 additions and 1235 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class View(metaclass=PoolMeta):
@classmethod
def read(cls, ids, fields_names):
res = super(View, cls).read(ids, fields_names)
res = super().read(ids, fields_names)
if Transaction().user == 0:
return res
dashboard_id = cls.dashboard_id()
+1 -1
View File
@@ -18,7 +18,7 @@ class User(metaclass=PoolMeta):
@classmethod
def __setup__(cls):
super(User, cls).__setup__()
super().__setup__()
cls._preferences_fields += [
'dashboard_layout',
'dashboard_actions',