Repository navigation
Conversation
Contributor
The core web ModelFieldSelector renders an empty 20x20 box with no affordance when the field chain is empty, so users do not realize it is clickable until hovering (e.g. the Update Record server action). Extend the template to show a muted 'Select a field...' placeholder while empty and in edit mode.
les-adhoc
force-pushed
the
19.0-t-69981-les-2
branch
from
June 29, 2026 18:29
f3c3765 to
be02e14
Compare
Contributor
|
@roboadhoc r+ nobump |
roboadhoc
pushed a commit
that referenced
this pull request
Jun 30, 2026
The core web ModelFieldSelector renders an empty 20x20 box with no affordance when the field chain is empty, so users do not realize it is clickable until hovering (e.g. the Update Record server action). Extend the template to show a muted 'Select a field...' placeholder while empty and in edit mode. closes #416 Signed-off-by: Matias Velazquez <mav@adhoc.com.ar>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Extends the core web
ModelFieldSelectorOWL template to show a muted"Select a field..." placeholder when the field chain is empty and the widget is
in edit mode.
Why
When the chain is empty, the core component renders the value container as an
invisible ~20x20px box with no border, chip or placeholder. Users do not realize
it is a clickable input until they hover over it (the dotted line only appears on
hover). Reported during a usability session; the most visible case is the
Update Record server action in Automation Rules.
How
New asset
base_ux/static/src/model_field_selector/model_field_selector.xml: at-inherit="web._ModelFieldSelector" t-inherit-mode="extension"that appends aplaceholder
<span>inside.o_model_field_selector_value, gated by!props.readonly and !state.displayNames.length. No Python, no JS, no SCSS — thespan uses Bootstrap utility classes.
webis not added todepends(it isalready pulled in transitively via
mail).Test plan
Record action.
(previously a blank invisible box).
Notes
nobump(manifest minor alreadyset to 19.0.1.6.0). Note: the new
ir.assetrequires the module to be updatedon deploy for the override to take effect.
[IMP] project_ux: add placeholder to task_state stage field project#144.
Internal task: 69981