litle bugfix taiga 2357
This commit is contained in:
parent
0529600c9b
commit
9d4df05831
|
@ -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:
|
||||||
|
|
Reference in a new issue