minor fix
This commit is contained in:
parent
9e1f7c011c
commit
b47e5aea66
|
@ -438,7 +438,7 @@ class ShipmentDetailedReport(Report):
|
|||
else:
|
||||
records = {}
|
||||
for m in moves:
|
||||
key = m['to_location.']['id'] + '_' + m['product.']['id']
|
||||
key = str(m['to_location.']['id']) + '_' + str(m['product.']['id'])
|
||||
try:
|
||||
records[key]['cost_w_tax'] += m['cost_w_tax']
|
||||
records[key]['quantity'] += m['quantity']
|
||||
|
|
Loading…
Reference in New Issue