Add setting to "force unit item" for inventory batch

This commit is contained in:
Lance Edgar 2019-10-21 15:35:15 -05:00
parent 32c8da6d2c
commit b6b8d1d8fc

View file

@ -163,6 +163,21 @@ class tailbone_filemon_restart(Setting):
name = 'filemon.restart' name = 'filemon.restart'
##############################
# Inventory
##############################
class tailbone_inventory_force_unit_item(Setting):
"""
Defines which of the possible "product key" fields should be effectively
treated as the product key.
"""
group = "Inventory"
namespace = 'tailbone'
name = 'inventory.force_unit_item'
data_type = bool
############################## ##############################
# Products # Products
############################## ##############################