Remove support for pos_menu_group
field in Catapult export
since it's not clear what that value should be, "objectively"
This commit is contained in:
parent
74deef63ab
commit
c3ecf828fc
|
@ -78,7 +78,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
|||
# 'disc_mult',
|
||||
'ideal_margin',
|
||||
'bottle_deposit',
|
||||
'pos_menu_group',
|
||||
# 'pos_menu_group',
|
||||
'scale_label',
|
||||
'sold_by_ea_or_lb',
|
||||
'quantity_required',
|
||||
|
@ -407,7 +407,10 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
|||
# 'disc_mult': None,
|
||||
|
||||
'bottle_deposit': product.deposit or None,
|
||||
'pos_menu_group': product.subdepartment.name if product.subdepartment else None,
|
||||
|
||||
# TODO: does CORE have this?
|
||||
# 'pos_menu_group': None,
|
||||
|
||||
'scale_label': 'Y' if scale_item else None,
|
||||
'sold_by_ea_or_lb': sold_by_ea_or_lb,
|
||||
'quantity_required': 'Y' if product.quantity_enforced else None,
|
||||
|
|
Loading…
Reference in a new issue