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:
parent
20e8aa97ca
commit
a193a3458a
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue