Commit 39f3b002 authored by Jérome Perrin's avatar Jérome Perrin

core: expose TrackingBrain.getExplanationValue

this way callers does not have to lookup explanation by catalog themselves
parent c7db1ba0
......@@ -288,6 +288,9 @@ class TrackingListBrain(InventoryListBrain):
"""
List of aggregated movements
"""
def getExplanationValue(self):
return self._getObjectByUid(self.delivery_uid)
def getDate(self):
if not self.date:
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment