Repository navigation
Conversation
PB 料号不变,订单仍带 2024 年旧 SKU;旧 SKU 美中仓为 0, 有货的是 2025-07-15 建档的改版 SKU。出件前自动把 TT0031058K0062965 / TT0031059K0062966 转成 TT0312672K0064328 / TT0312673K0064329,并用 PB 料号 5938375 / 4020032 交叉校验颜色;冲突或深蓝未确认 SKU 直接中止。 - 新增 arc_sku_migration.py(status/check/map-order)与映射 JSON - service 出件主流程自动转换,转换后 CSV 作为产物保留 - 页面顶部常驻提示,任务报告展示转换明细 - stock_precheck 与 no_stock 支持旧/新 SKU 别名 - 已部署 sh-erpnext-test(服务器副本较新,用 patch 叠加) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 新增 docs/solutions 两篇:产品改版旧 SKU 迁移、非 git 部署 patch 叠加 - 级联更新 category 索引/日志、根 solutions 索引、pb_orders handoff/docs、CONCEPTS、AGENTS 篇数 - 已同步更新根目录索引。无客户数据/凭证;无隐私外泄。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
PB 料号不变,周一上线的订单仍会带 2024 年旧通途 SKU;旧 SKU 美中仓为 0,有货的是 2025-07-15 建档的改版 SKU(50×22×55)。
改动
arc_sku_migration.py(status/check/map-order)与sku_maps/pb_arc_foam_cylinder.jsonTT0031058K0062965→TT0312672K0064328(灰)TT0031059K0062966→TT0312673K0064329(象牙白)5938375/4020032与 Vendor Style 必须配对;配错直接中止TT0312674K0064330、未登记的菱形绒布 SKU:直接PBJobError,不出任何正式产物converted_order产物保留,任务报告展示转换明细stock_precheck与no_stock支持旧/新 SKU 别名验证
pytest pb_orders/tests:177 passed, 2 skippedsh-erpnext-test:/opt/pb-orders,web/worker healthy;容器内实测转换与冲突判定通过上线前仍需业务确认
备注
服务器
/opt/pb-orders/pb_orders/data/us_sku_name_cache.csv已补 3 个新 SKU 的中/西语名;Google Sheet
US SKU Name仍需补同样三行,否则下次刷新缓存会覆盖。🤖 Generated with Claude Code