Call super() method of view_attributes

issue10151
review349551002
This commit is contained in:
Nicolas Évrard
2021-04-09 10:52:03 +02:00
parent 45c6ce4f1a
commit ef3ec33c78
+1 -1
View File
@@ -315,7 +315,7 @@ class PurchaseRequisition(Workflow, ModelSQL, ModelView):
@classmethod
def view_attributes(cls):
return [
return super().view_attributes() + [
('/tree', 'visual',
If(Eval('state') == 'cancelled', 'muted', '')),
]