minor fix

This commit is contained in:
wilson gomez 2021-09-21 15:59:05 -05:00
parent 0176679caa
commit 53c33c2726

View file

@ -319,11 +319,12 @@ class ShipmentDetailedReport(Report):
fields_names = [
'product.account_category.name', 'product.name', 'product.cost_price',
'quantity',
'quantity', 'to_location.name'
]
moves = Move.search_read(
('shipment', 'in', shipments),
fields_names=fields_names
fields_names=fields_names,
order=[('to_location', 'DESC'), ('create_date', 'ASC')]
)
dgetter = itemgetter('product.', 'quantity')