litle bugfix taiga 2357

This commit is contained in:
Cayo Puigdefabregas 2021-11-22 10:16:39 +01:00
parent 0529600c9b
commit 9d4df05831
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class TradeMetrics(MetricsMix):
row['trade_confirmed'] = self.get_confirms() row['trade_confirmed'] = self.get_confirms()
row['status_receiver'] = '' row['status_receiver'] = ''
row['status_supplier'] = '' row['status_supplier'] = ''
row['trade_weight'] = self.document.weight row['trade_weight'] = self.document.total_weight
if self.document.owner == self.last_trade.user_from: if self.document.owner == self.last_trade.user_from:
row['action_create_by'] = 'Supplier' row['action_create_by'] = 'Supplier'
elif self.document.owner == self.last_trade.user_to: elif self.document.owner == self.last_trade.user_to: