diff --git a/inventory.py b/inventory.py index cd4640f67d..dc55d37a01 100644 --- a/inventory.py +++ b/inventory.py @@ -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', '')), ] diff --git a/move.py b/move.py index 527b5b7a13..049bc6998e 100644 --- a/move.py +++ b/move.py @@ -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', '')), ] diff --git a/shipment.py b/shipment.py index 7cf80833de..329b37f569 100644 --- a/shipment.py +++ b/shipment.py @@ -24,7 +24,7 @@ class ShipmentMixin: @classmethod def view_attributes(cls): - return [ + return super().view_attributes() + [ ('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')), ]