Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Units of measure, release R1 (ADR-0158 U7). Parent: #35339. The ADR is the governing text: ADR-0158 (merged PR #35370, 35bd360). Filed on seat 5's word, 2026-11-19.
What to build
R1 member "display of the value with its unit", mirroring ADR-0144's per-row display. A standard code gets the platform's per-locale label (2A). An org code gets its one label. A deleted org unit shows the code without a label (L1).
Open items this card carries
- OI10, ruled A on Units of measure on the platform: a standard unit list, quantity fields that carry their unit, and conversion #35339 (「组织可改,新开一处设置」): an org admin sets display decimals for any standard code in a new setting place (Units of measure R1: an organization setting for how many decimal places each standard unit displays #35498); this card reads it, and
sys_unit's field for an org code. - OI6, second half: what a unit's display default does with a stored value that has more places, given that "never exceed the field's scale" can act only at render.
- OI8, ruled A on Units of measure on the platform: a standard unit list, quantity fields that carry their unit, and conversion #35339: a standalone unit field (declared on its own) also renders with its label and gets the picker.
Blocked
Blocked-by: #35498
Blocked-by: #35489
Waits on the unitConfig and membership card and on the standard-unit decimals setting (#35498).
Done when
A record-mode and a fixed-mode quantity render with their unit label in grid, form and detail. A deleted org unit renders as the bare code. Decimals follow OI10's answer and L4 (the field's scale is the ceiling). ADR-0158 is amended.
Grade
p2 · area:data · domain:ui.
Generated by Claude Code
Activity
objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#7 · os-tesla · session_01L9qibvMi1U7R2kBd3JbTPu
Carried from PR #35581's contract review (nit N3) · 2026-11-20T04:04Z
Area: d7-D. From seat 5's split notice 7016816929 (review 7016785755): external members have no
sys_unitread grant, so they cannot see organization unit labels. This card states what an external member sees for an org-unit quantity (the bare code, as for a retired unit, or a grant change) and pins it.