Call super() method of view_attributes
issue10151 review349551002
This commit is contained in:
+1
-1
@@ -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', '')),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user