From df42c27f203e6e41f3cde83e1b099129a2ef03e0 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 12 Feb 2021 10:29:23 +0100 Subject: [PATCH] remove EreusePrice of public info of devices --- ereuse_devicehub/resources/device/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/device/models.py b/ereuse_devicehub/resources/device/models.py index 215fcfb3..cd2a7dd0 100644 --- a/ereuse_devicehub/resources/device/models.py +++ b/ereuse_devicehub/resources/device/models.py @@ -217,7 +217,7 @@ class Device(Thing): """Actions than we want show in public page as traceability log section :return a list of actions: """ - hide_actions = ['Price'] + hide_actions = ['Price', 'EreusePrice'] actions = [ac for ac in self.actions if not ac.t in hide_actions] actions.reverse() return actions