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
|
"""Actions than we want show in public page as traceability log section
|
||||||
:return a list of actions:
|
: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 = [ac for ac in self.actions if not ac.t in hide_actions]
|
||||||
actions.reverse()
|
actions.reverse()
|
||||||
return actions
|
return actions
|
||||||
|
|
Reference in a new issue