Fixing name of document container in metrics
This commit is contained in:
parent
9d4df05831
commit
40bf280c75
|
@ -219,7 +219,7 @@ class TradeMetrics(MetricsMix):
|
||||||
|
|
||||||
row['type'] = 'Trade-Document'
|
row['type'] = 'Trade-Document'
|
||||||
row['action_type'] = 'Trade-Document'
|
row['action_type'] = 'Trade-Document'
|
||||||
if self.document.weight:
|
if self.document.total_weight:
|
||||||
row['type'] = 'Trade-Container'
|
row['type'] = 'Trade-Container'
|
||||||
row['action_type'] = 'Trade-Container'
|
row['action_type'] = 'Trade-Container'
|
||||||
|
|
||||||
|
|
Reference in New Issue