Files
tenant-registry/internal/erpmock
Sharang ParnerkarandClaude Opus 5.5 c180807d19
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 26m34s
ci / image (pull_request) Skipped
feat(erpsetup): catalogue for Leistungsbeschreibung 1.0.0, opt-in -sync-catalog
Bring the ERPNext sales catalogue in line with the frozen
Leistungsbeschreibungen 1.0.0:

- New items PLT-BNDL-CLD-STD/-ADD (Starter bundle), CRA-CSA-CLD-TGT
  (extra Prüfobjekt, 5.99/Monat), CRA-CSA-CLD-DAY (Prüftag, 9.99) and
  INF-GIT-CLD-USR (extra Git user); new whole-number UOM "Prüftag".
- New names, descriptions and prices for the kept items, with the
  "Breakpilot" brand spelling. The item group name stays.
- sku.Disabled, sent as the Item field disabled: CRA-CSA-CLD-SCAN,
  CRA-WBK-CLD-*, DEV-WP-CLD-BUS/ENT and DEV-FWK-CLD-BUS/ENT stay in
  ERPNext, disabled, so old documents keep working.
- cmd/erpsetup -sync-catalog (Config.SyncCatalog): existing items get
  item_name, description and disabled, and the Standard Selling list
  price without a customer gets price_list_rate, when they differ. The
  dry run reports "field old → new". Without the flag, the run behaves
  as before.
- Quote "Mehrverbrauch" row: extra Prüfobjekte and Prüftage at the
  TGT/DAY list rates, falling back to the price list; not on an
  Enterprise quote. Adds the extra-users sentence for Managed Git Cloud
  and the Starter bundle.
- Migration 0026 adds CRA-CSA-CLD-TGT and -DAY to the pruefwerk product
  (SCAN stays); DefaultProducts and the ERP mock follow.
- Tests: catalogue consistency, the sync (dry run, run, idempotent,
  customer price kept), the seed against DefaultProducts and 0026
  up/down, and 0 € module lines granting entitlements via webhook and
  reconcile (no code change was needed: the rate is never read).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:52:34 +01:00
..