Include product UPC as original item id, for Catapult export

in case data needs to be imported back into CORE, from spreadsheet
This commit is contained in:
Lance Edgar 2020-04-15 19:17:00 -05:00
parent 20e8aa97ca
commit a193a3458a

View file

@ -609,6 +609,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
return { return {
'__product__': product, '__product__': product,
'__original_item_id__': product.upc,
'uuid': get_uuid(), 'uuid': get_uuid(),
'item_id': item_id, 'item_id': item_id,
'dept_id': department.number if department else None, 'dept_id': department.number if department else None,