Rework of workflow, added the dock back. This is now the beginning of the SKU mismatch issues. FKN FUN TIMES AHEAD
This commit is contained in:
+27
-2
@@ -102,6 +102,11 @@ SETTINGS_SCHEMA: Dict[str, tuple[str, str, bool]] = {
|
||||
"Packing",
|
||||
False,
|
||||
),
|
||||
"RETURN_DEVICE_EXEMPT_KEYWORDS": (
|
||||
"Return types with no matching device expected (comma-separated keywords)",
|
||||
"Packing",
|
||||
False,
|
||||
),
|
||||
"SIGNIFY_RETURN_CARRIER_ID": ("Signify Return: ShipStation Carrier ID", "Return Labels", False),
|
||||
"SIGNIFY_RETURN_SERVICE_CODE": (
|
||||
"Signify Return: Service code (e.g. ups_ground)",
|
||||
@@ -134,6 +139,23 @@ SETTINGS_SCHEMA: Dict[str, tuple[str, str, bool]] = {
|
||||
"OAKSTREET_RETURN_STATE": ("Oak Street Return Address: State", "Return Labels", False),
|
||||
"OAKSTREET_RETURN_ZIP": ("Oak Street Return Address: Zip", "Return Labels", False),
|
||||
|
||||
# RubiconMD - an Oak Street subsidiary (RMD-prefixed SKUs). Classified as
|
||||
# Oak Street Health everywhere else, but return labels use its own UPS
|
||||
# account and its own name on the return address.
|
||||
"RUBICONMD_RETURN_CARRIER_ID": ("RubiconMD Return: ShipStation Carrier ID", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_SERVICE_CODE": (
|
||||
"RubiconMD Return: Service code (e.g. ups_ground)",
|
||||
"Return Labels",
|
||||
False,
|
||||
),
|
||||
"RUBICONMD_RETURN_NAME": ("RubiconMD Return Address: Name", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_PHONE": ("RubiconMD Return Address: Phone", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_ADDRESS1": ("RubiconMD Return Address: Address 1", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_ADDRESS2": ("RubiconMD Return Address: Address 2", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_CITY": ("RubiconMD Return Address: City", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_STATE": ("RubiconMD Return Address: State", "Return Labels", False),
|
||||
"RUBICONMD_RETURN_ZIP": ("RubiconMD Return Address: Zip", "Return Labels", False),
|
||||
|
||||
"ACTIVE_STATUSES": (
|
||||
"Statuses that count as real active work (comma-separated) - "
|
||||
"everything else is treated as done",
|
||||
@@ -163,7 +185,7 @@ SETTINGS_SCHEMA: Dict[str, tuple[str, str, bool]] = {
|
||||
}
|
||||
|
||||
DEFAULT_DB_URL = "sqlite:///orders.db"
|
||||
DEFAULT_COMPANY_SKU_MAP = "SH:Signify Health,OK:Oak Street Health"
|
||||
DEFAULT_COMPANY_SKU_MAP = "SH:Signify Health,OK:Oak Street Health,RMD:Oak Street Health"
|
||||
DEFAULT_TICKET_NUMBER_REGEX = r"\b[A-Z]{2,6}-\d{3,}\b"
|
||||
DEFAULT_FULFILLED_WITH_RETURN = "Waiting For Return"
|
||||
DEFAULT_FULFILLED_WITHOUT_RETURN = "Device Return Not Needed"
|
||||
@@ -178,7 +200,10 @@ DEFAULT_DEVICE_FIELD_SUGGESTIONS = (
|
||||
"phone:Phone IMEI|Phone Serial Number|Phone ICCID|Phone Asset Tag,"
|
||||
"ipad:iPad IMEI|iPad Serial Number|iPad ICCID|iPad Asset Tag,"
|
||||
"spiro:Spiro Serial Number|Spiro Asset Tag,"
|
||||
"apc:UPS/APC Serial Number|UPS/APC Asset Tag"
|
||||
"apc:UPS/APC Serial Number|UPS/APC Asset Tag,"
|
||||
"monitor:Monitor Serial Number|Monitor Asset Tag,"
|
||||
"accessor:Accessory Notes,"
|
||||
"camera:Camera Serial Number|Camera Asset Tag"
|
||||
)
|
||||
# Confirmed against ShipStation's own UPS service code reference, not guessed.
|
||||
DEFAULT_SHIPPING_METHOD_LABELS = (
|
||||
|
||||
Reference in New Issue
Block a user