Skip to content

feat(harmonia): hide the create-time UUID placeholder in the document title#6390

Merged
delchev merged 1 commit into
masterfrom
feat/harmonia-document-number-draft
Jul 22, 2026
Merged

feat(harmonia): hide the create-time UUID placeholder in the document title#6390
delchev merged 1 commit into
masterfrom
feat/harmonia-document-number-draft

Conversation

@delchev

@delchev delchev commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

A not-yet-issued document holds a create-time UUID placeholder in its number field (until the real number is stamped at issue). The Harmonia document title rendered that raw UUID — e.g. "SALES INVOICE 3f2a1c9e-…". Now a draft shows just the label.

  • HarmoniaFormat.documentNumber(v) (shared format.js): returns '' for a UUID-shaped value, else the value unchanged.
  • The document title uses it in the main document view (x-show + x-text) and the partner / my document views → a draft reads "Sales Invoice", and once issued "Sales Invoice SI00000042".

Independent display fix — it also improves the current hand-written-placeholder behavior (the KF's SalesInvoiceNumberAction puts a UUID there today), not only first-class numbering. Verified: the shared format.js serves the helper.

🤖 Generated with Claude Code

… title

A not-yet-issued document holds a create-time UUID placeholder in its number field (the platform's
numbering, until the real number is stamped at issue). The Harmonia document title rendered that raw
UUID (e.g. "SALES INVOICE 3f2a1c9e-…"). Now the title shows just the document label until the real
number appears.

- HarmoniaFormat.documentNumber(v) (shared format.js): returns '' for a UUID-shaped value, else the
  value unchanged.
- The document title uses it in the main document view (x-show + x-text) and the partner / my document
  views, so a draft reads "Sales Invoice" and, once issued, "Sales Invoice SI00000042".

Independent display fix - improves the current hand-written-placeholder behavior too (not only
first-class numbering). Verified: the shared format.js serves the helper.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@delchev
delchev merged commit 249d403 into master Jul 22, 2026
9 checks passed
@delchev
delchev deleted the feat/harmonia-document-number-draft branch July 22, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant