From 9d4df05831bec16e021fc3a0fd74d7b04d76ca3a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 22 Nov 2021 10:16:39 +0100 Subject: [PATCH] litle bugfix taiga 2357 --- ereuse_devicehub/resources/device/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/device/metrics.py b/ereuse_devicehub/resources/device/metrics.py index f9399f95..55d6894c 100644 --- a/ereuse_devicehub/resources/device/metrics.py +++ b/ereuse_devicehub/resources/device/metrics.py @@ -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: