litle bugfix taiga 2357

This commit is contained in:
Cayo Puigdefabregas 2021-11-22 10:16:39 +01:00
parent 0529600c9b
commit 9d4df05831

View file

@ -229,7 +229,7 @@ class TradeMetrics(MetricsMix):
row['trade_confirmed'] = self.get_confirms()
row['status_receiver'] = ''
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:
row['action_create_by'] = 'Supplier'
elif self.document.owner == self.last_trade.user_to: