You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
821 B

  1. In any view with a domain field widget and model, but we'll make the example
  2. with a user filter:
  3. #. Enter debug mode.
  4. #. Go to the *Debug menu* and select the option *Manage Filters*
  5. #. Create a new one
  6. #. Put a name to the filter and select a model (e.g.: Contact)
  7. #. Click on the record selection button and a list dialog opens. There you can
  8. either:
  9. * Select individual records: those ids will be added to the domain.
  10. * Set filters that will be applied to the domain and select all the records
  11. to add it as a new filter.
  12. * Set groups that will be converted into search filters, select all the
  13. records and those unfolded groups will be set as filters to.
  14. You can still edit the filter with Odoo's widget after that.
  15. .. figure:: ../static/src/img/behaviour.png
  16. :align: center
  17. :width: 600 px