diff --git a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py index 20177cc..c963b89 100644 --- a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py +++ b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py @@ -83,7 +83,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo 'tax_2', 'spec_tend_1', 'spec_tend_2', - # 'age_required', + 'age_required', # 'location', # 'family_line', # 'alt_id', @@ -232,9 +232,9 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo 'tax_2': tax_2 or None, # TODO: logic above is unfinished 'spec_tend_1': 'EBT' if product.foodstamp else None, 'spec_tend_2': 'WIC' if product.wicable else None, + 'age_required': product.id_enforced or None, # TODO: does CORE have these? - # 'age_required': None, # 'location': None, # 'family_line': None,