Call super() method of view_attributes

issue10151
review349551002
This commit is contained in:
Nicolas Évrard
2021-04-09 10:52:03 +02:00
parent 3083e1db7a
commit 73cbb1bb03
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class Inventory(Workflow, ModelSQL, ModelView):
@classmethod
def view_attributes(cls):
return [
return super().view_attributes() + [
('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')),
]
+1 -1
View File
@@ -600,7 +600,7 @@ class Move(Workflow, ModelSQL, ModelView):
@classmethod
def view_attributes(cls):
return [
return super().view_attributes() + [
('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')),
]
+1 -1
View File
@@ -24,7 +24,7 @@ class ShipmentMixin:
@classmethod
def view_attributes(cls):
return [
return super().view_attributes() + [
('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')),
]