Skip to content

fix(harmonia): the document items table shows the display columns, not every editable column - #6525

Merged
delchev merged 1 commit into
masterfrom
fix/document-items-table-major-columns
Aug 5, 2026
Merged

fix(harmonia): the document items table shows the display columns, not every editable column#6525
delchev merged 1 commit into
masterfrom
fix/document-items-table-major-columns

Conversation

@delchev

@delchev delchev commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Problem

The document page's read-only items table (application shell, My shell, Partner shell) renders editColumns - the full metadata meant for the add/edit dialog. A relation the model hides from tables (major: false, honored by the display-column list) therefore still appears as a table column: a line-item's Product picker, UoM and tax-rate selectors all render as columns although the Name/quantity/derived-amount columns are the document's actual reading surface.

Fix

The table iterates a filtered set: the display columns (which honor major: false) carried with their full edit metadata, so lookup labels, date and number formatting keep working. The dialog keeps editColumns - a hidden Depends-On trigger (pick a Product → name/price/UoM/tax fill in) must stay editable there. Same change on all three shells; colspans follow.

Verified live: a regenerated invoice document renders the reduced table (name/quantity/price/discount/vat-rate/net/vat/total) while the line dialog still offers Product/UoM/TaxRate.

🤖 Generated with Claude Code

…t every editable column

The read-only items table on all three document surfaces (application, my,
partner) iterated editColumns - the full add/edit-dialog metadata - so a
relation marked major:false (hidden from tables by contract) still rendered
as a table column. The table now shows the display-column set (which honors
major:false), carried with the full edit metadata so lookup labels, dates
and number patterns keep rendering; the dialog keeps editColumns, so a
hidden Depends-On trigger (pick a Product -> name/price/UoM/tax fill in)
stays editable.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit 54e3188 into master Aug 5, 2026
10 checks passed
@delchev
delchev deleted the fix/document-items-table-major-columns branch August 5, 2026 07:54
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