add fiel code shipment detailed report

This commit is contained in:
fabiand14 2022-08-20 09:15:41 -05:00
parent 88521b6db7
commit e5b32b94fb
2 changed files with 9 additions and 8 deletions

View File

@ -493,7 +493,7 @@ class ShipmentDetailedReport(Report):
)
shipments_id = [model + ',' + str(sh['id']) for sh in shipments]
fields_names = [
'product.account_category.name', 'product.name', 'product.cost_price',
'product.account_category.name', 'product.name', 'product.code', 'product.cost_price',
'quantity', 'to_location.name', 'from_location.name', 'shipment.reference',
'effective_date', 'shipment.number'
]
@ -541,6 +541,7 @@ class ShipmentDetailedReport(Report):
'party': party,
'oc': oc,
'product': product['name'],
'code': product['code'],
'cost_price': cost_price,
'category': category,
'category_ad': category_ad,

Binary file not shown.