feat(shipping-notice): 完善发货通知自动推进与多库存源复核闭环
This commit is contained in:
1 parent
cfa19a0b7b
commit
8e0bbf7a81
180 files changed
+31210
-1864
No files matched your search
@@ -192,6 +192,28 @@ def auto_match_enabled() -> bool:
|
||||
return cfg_bool("SHIPPING_NOTICE_AUTO_MATCH_ENABLED", True)
|
||||
|
||||
|
||||
def auto_candidate_freeze_enabled() -> bool:
|
||||
"""
|
||||
[T10 周一受控测试] 是否在解析确认后自动冻结候选集合。
|
||||
核心语义:路由解析通过 → 立即生成任务级+行级候选,进入 AUTO_INVENTORY_PREPARE;
|
||||
关闭则停在 inventory_source_unresolved 待人工确认源。默认 true(受控测试开启)。
|
||||
"""
|
||||
return cfg_bool("SHIPPING_NOTICE_AUTO_CANDIDATE_FREEZE_ENABLED", True)
|
||||
|
||||
|
||||
def auto_inventory_prepare_enabled() -> bool:
|
||||
"""
|
||||
[T10 周一受控测试] 是否在候选冻结后自动按 source_code 触发 per-source RPA Attempt。
|
||||
关闭则停在 candidates_frozen(等待外部 API 或人工发 Trigger)。默认 true(受控测试开启)。
|
||||
"""
|
||||
return cfg_bool("SHIPPING_NOTICE_AUTO_INVENTORY_PREPARE_ENABLED", True)
|
||||
|
||||
|
||||
def auto_generate_excel_enabled() -> bool:
|
||||
"""[T10 周一受控测试] 是否在库存匹配全 matched 后自动调用 generate_excel。默认 true。"""
|
||||
return cfg_bool("SHIPPING_NOTICE_AUTO_GENERATE_EXCEL_ENABLED", True)
|
||||
|
||||
|
||||
def auto_chain_fallback_enabled() -> bool:
|
||||
"""Hxops chat 是否在 match 后自动串联 export/upload(全局开关)。"""
|
||||
return cfg_bool("SHIPPING_NOTICE_AUTO_CHAIN_FALLBACK", True)
|
||||
|
||||
Reference in new issue
Block a user