Fixing name of document container in metrics

This commit is contained in:
Cayo Puigdefabregas 2021-11-22 10:31:20 +01:00
parent 9d4df05831
commit 40bf280c75
1 changed files with 1 additions and 1 deletions

View File

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