Files
Odoo-18.0-20251222/web_widget_domain_editor_dialog/readme/USAGE.md
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

802 B
Executable File

In any view with a domain field widget and model, but we'll make the example with a user filter:

  1. Enter debug mode.
  2. Go to the Settings > Technical > User Interface > User-defined Filters
  3. Create a new one
  4. Put a name to the filter and select a model (e.g.: Contact)
  5. Click on the record selection button and a list dialog will be opened. There you can either:
  • Select individual records: those ids will be added to the domain.
  • Set filters that will be applied to the domain and select all the records to add it as a new filter.
  • Set groups that will be converted into search filters, select all the records and those unfolded groups will be set as filters to.

You can still edit the filter with Odoo's widget after that.