Add 'age_required' to Catapult export
This commit is contained in:
parent
5a75a99263
commit
3a956c444d
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in a new issue