Add 'pf1' (subdepartment number) to Catapult export
This commit is contained in:
parent
c2c10de64b
commit
45f05032fb
|
@ -98,7 +98,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
||||||
# 'num_pkgs',
|
# 'num_pkgs',
|
||||||
# 'cs_pk_multiplier',
|
# 'cs_pk_multiplier',
|
||||||
# 'dsd',
|
# 'dsd',
|
||||||
# 'pf1',
|
'pf1',
|
||||||
# 'pf2',
|
# 'pf2',
|
||||||
# 'pf3',
|
# 'pf3',
|
||||||
# 'pf4',
|
# 'pf4',
|
||||||
|
@ -294,8 +294,9 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
||||||
# TODO: does CORE have this?
|
# TODO: does CORE have this?
|
||||||
# 'dsd': None,
|
# 'dsd': None,
|
||||||
|
|
||||||
|
'pf1': product.subdepartment.number if product.subdepartment else None,
|
||||||
|
|
||||||
# TODO: are these needed?
|
# TODO: are these needed?
|
||||||
# 'pf1',
|
|
||||||
# 'pf2',
|
# 'pf2',
|
||||||
# 'pf3',
|
# 'pf3',
|
||||||
# 'pf4',
|
# 'pf4',
|
||||||
|
|
Loading…
Reference in a new issue