remove EreusePrice of public info of devices
This commit is contained in:
parent
43e782e986
commit
df42c27f20
|
@ -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
|
||||
|
|
Reference in a new issue