From a193a3458a0e7a9bcae681f2180fda5f65091562 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Apr 2020 19:17:00 -0500 Subject: [PATCH] Include product UPC as original item id, for Catapult export in case data needs to be imported back into CORE, from spreadsheet --- .../corepos/importing/db/exporters/catapult_inventory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py index 8113e05..aa884d8 100644 --- a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py +++ b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py @@ -609,6 +609,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo return { '__product__': product, + '__original_item_id__': product.upc, 'uuid': get_uuid(), 'item_id': item_id, 'dept_id': department.number if department else None,