feat(erpsetup): quotes name the Leistungsbeschreibung versions; Prüfwerk 1.0.3 #116

Closed
sharang wants to merge 2 commits from feat/erp-lb-versions into main
pull from: feat/erp-lb-versions
Owner

Why: every Leistungsbeschreibung says in § 1 that the version named in the quote or order confirmation applies. Our quotes named no version ("in der jeweils vereinbarten Fassung"). With Prüfwerk now at 1.0.3, that needs to be explicit.

Changes

  • Vertragsgrundlagen (quote print format): the default text lists the Leistungsbeschreibungen by module and version. Breakpilot Plattform is always listed. A module is listed when the quote has one of its lines:

    Module Version Item codes
    Prüfwerk 1.0.3 CRA-CSA-CLD-*
    Managed Git 1.0.0 INF-GIT-CLD-*
    Build-Runner 1.0.0 INF-CI-CLD-*
    Werkpilot 1.0.0 DEV-WP-*
    Firmwerk 1.0.0 DEV-FWK-*

    The table lives in catalog.go (lbVersions); raising a version is a one-line change. A per-document vertragsgrundlage still replaces the whole text. Starter bundle quotes are covered because the bundle's modules are their own lines.

  • CRA-CSA-CLD-STD description: "… SPS-Programmen mit SBOM und Codegraph: …" (LB Prüfwerk 1.0.3 § 4).

  • Spelling: "Breakpilot-Kundenportal" (was BreakPilot) in that sentence.

  • Spelling (second commit): customer-visible text now says Breakpilot: the invoice e-mail subject ("Rechnung … – Breakpilot"), its sign-off ("Ihr Breakpilot-Team") and the logo alt text. ERPNext record names (print formats, letter head, e-mail template, item group) keep BreakPilot, because renaming them would create new records. TestCustomerTextSpellsBreakpilot keeps the customer text on Breakpilot.

Example (rendered with jinja2's sandbox): a quote with Starter bundle, Prüfwerk, Managed Git and Werkpilot reads "… die Leistungsbeschreibungen (Breakpilot Plattform 1.0.0, Prüfwerk 1.0.3, Managed Git 1.0.0, Werkpilot 1.0.0), das SLA …".

Tests: a new TestQuoteNamesLBVersions; go test ./... passes.

After merge: a normal erpsetup run against the live ERP writes the print format and the item description. -sync-catalog isn't needed.

🤖 Generated with Claude Code

**Why:** every Leistungsbeschreibung says in § 1 that the version named in the quote or order confirmation applies. Our quotes named no version ("in der jeweils vereinbarten Fassung"). With Prüfwerk now at 1.0.3, that needs to be explicit. **Changes** - **Vertragsgrundlagen (quote print format):** the default text lists the Leistungsbeschreibungen by module and version. Breakpilot Plattform is always listed. A module is listed when the quote has one of its lines: | Module | Version | Item codes | |---|---|---| | Prüfwerk | 1.0.3 | `CRA-CSA-CLD-*` | | Managed Git | 1.0.0 | `INF-GIT-CLD-*` | | Build-Runner | 1.0.0 | `INF-CI-CLD-*` | | Werkpilot | 1.0.0 | `DEV-WP-*` | | Firmwerk | 1.0.0 | `DEV-FWK-*` | The table lives in `catalog.go` (`lbVersions`); raising a version is a one-line change. A per-document `vertragsgrundlage` still replaces the whole text. Starter bundle quotes are covered because the bundle's modules are their own lines. - **CRA-CSA-CLD-STD description:** "… SPS-Programmen mit SBOM und Codegraph: …" (LB Prüfwerk 1.0.3 § 4). - **Spelling:** "Breakpilot-Kundenportal" (was BreakPilot) in that sentence. - **Spelling (second commit):** customer-visible text now says Breakpilot: the invoice e-mail subject ("Rechnung … – Breakpilot"), its sign-off ("Ihr Breakpilot-Team") and the logo alt text. ERPNext record names (print formats, letter head, e-mail template, item group) keep BreakPilot, because renaming them would create new records. `TestCustomerTextSpellsBreakpilot` keeps the customer text on Breakpilot. **Example (rendered with jinja2's sandbox):** a quote with Starter bundle, Prüfwerk, Managed Git and Werkpilot reads "… die Leistungsbeschreibungen (Breakpilot Plattform 1.0.0, Prüfwerk 1.0.3, Managed Git 1.0.0, Werkpilot 1.0.0), das SLA …". **Tests:** a new `TestQuoteNamesLBVersions`; `go test ./...` passes. **After merge:** a normal `erpsetup` run against the live ERP writes the print format and the item description. `-sync-catalog` isn't needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-11-09 09:51:15 +00:00
feat(erpsetup): quotes name the Leistungsbeschreibung versions; Prüfwerk 1.0.3
ci / shared (pull_request) Failing after 12s
ci / test (pull_request) Successful in 25m54s
ci / image (pull_request) Skipped
60de1b3ace
Each Leistungsbeschreibung says the version named in the quote applies,
but the quote's Vertragsgrundlagen named none. The default text now lists
the LBs that apply by module and version: Breakpilot Plattform always,
each module when the quote has one of its lines (catalog.go lbVersions,
rendered into the print format as a Jinja expression over item_codes).
A per-document "vertragsgrundlage" still replaces the whole text.

- Prüfwerk at 1.0.3 (code graph, frozen 09.11.); all others at 1.0.0.
- CRA-CSA-CLD-STD description names SBOM and code graph (LB § 4).
- "Breakpilot-Kundenportal" (was BreakPilot) in that sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang added 1 commit 2026-11-09 09:54:50 +00:00
fix(erpsetup): Breakpilot in the invoice mail subject, its sign-off and the logo alt text
ci / shared (pull_request) Failing after 5s
ci / test (pull_request) Successful in 25m54s
ci / image (pull_request) Skipped
b3bd916cb1
Customer-visible text only. ERPNext record names (print formats, letter
head, e-mail template, item group) keep BreakPilot: renaming them would
create new records. A test keeps the customer text on Breakpilot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Owner

Superseded by #117: same changes; the second commit's subject was too long for commitlint.

Superseded by #117: same changes; the second commit's subject was too long for commitlint.
sharang closed this pull request 2026-11-09 09:57:01 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.