remove EreusePrice of public info of devices

This commit is contained in:
Cayo Puigdefabregas 2021-02-12 10:29:23 +01:00
parent 43e782e986
commit df42c27f20
1 changed files with 1 additions and 1 deletions

View File

@ -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