minor fix

This commit is contained in:
wilson gomez 2021-10-25 15:40:52 -05:00
parent 9e1f7c011c
commit b47e5aea66
1 changed files with 1 additions and 1 deletions

View File

@ -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']