Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][IMP] javascript reference: document domain field options #11734

Open
wants to merge 1 commit into
base: saas-18.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions content/developer/reference/frontend/javascript_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,16 @@ Domain (`domain`)

- Supported field types: `char`

Options:

- `model`: the name of the char field encoding the `res_model` on which the domain applies.

- `foldable` (default: `false`): if true, the domain field is rendered compactly and unfolds
itself upon user interaction.

- `in_dialog` (default: `false`): if true, the widget opens a dialog when the user wants to edit
the domain whereas by default, the domain editor is rendered just below the value.

Link button (`link_button`)
The `LinkButton` widget actually simply displays a span with an icon and the
text value as content. The link is clickable and will open a new browser
Expand Down