Email procedure (beta), WorkFlow update

This commit is contained in:
2026-09-02 11:44:54 -05:00
parent 826a70bdf6
commit edd5f2a886
12 changed files with 450 additions and 8 deletions
+26
View File
@@ -91,6 +91,17 @@ SETTINGS_SCHEMA: Dict[str, tuple[str, str, bool]] = {
"Return Labels",
False,
),
"DEVICE_FIELD_SUGGESTIONS": (
"Serial-number fields to suggest per device keyword "
"(keyword:Field One|Field Two,keyword2:Field Three)",
"Packing",
False,
),
"SHIPPING_METHOD_LABELS": (
"ShipStation service code -> your term (e.g. ups_ground:Ground)",
"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)",
@@ -160,6 +171,21 @@ DEFAULT_INTAKE_CUTOFF_TIME = "15:30"
DEFAULT_ACTIVE_STATUSES = "Created"
DEFAULT_CANCELLED_STATUSES = "Cancelled"
DEFAULT_EMAILED_LABEL_SKUS = "SH007,OK012"
DEFAULT_DEVICE_FIELD_SUGGESTIONS = (
"laptop:Laptop Serial Number|Laptop Asset Tag,"
"optiplex:OptiPlex Serial Number|OptiPlex Asset Tag,"
"desktop:Desktop Serial Number|Desktop Asset Tag,"
"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"
)
# Confirmed against ShipStation's own UPS service code reference, not guessed.
DEFAULT_SHIPPING_METHOD_LABELS = (
"ups_next_day_air:Priority Overnight,"
"ups_2nd_day_air:Two Day,"
"ups_ground:Ground"
)
DEFAULT_RETURN_CHARGE_EVENT = "carrier_default"