[IMP] web_widget_domain_editor_dialog: pre-commit auto fixes

This commit is contained in:
David
2024-07-05 14:06:16 +02:00
parent e770599c69
commit efa453c74e
8 changed files with 87 additions and 88 deletions

View File

@@ -0,0 +1,7 @@
- [Tecnativa](https://www.tecnativa.com)
- David Vidal
- Jairo Llopis
- Carlos Roca
- Darshan Patel \<<darshan.barcelona@gmail.com>\>
- Helly kapatel \<<helly.kapatel@initos.com>\>
- Carlos Lopez \<<celm1990@gmail.com>\>

View File

@@ -1,9 +0,0 @@
* `Tecnativa <https://www.tecnativa.com>`_
* David Vidal
* Jairo Llopis
* Carlos Roca
* Darshan Patel <darshan.barcelona@gmail.com>
* Helly kapatel <helly.kapatel@initos.com>
* Carlos Lopez <celm1990@gmail.com>

View File

@@ -1,5 +1,5 @@
Since v11 introduced the new domain editor widget it's not possible to edit
the selected records from the current domain.
Since v11 introduced the new domain editor widget it's not possible to
edit the selected records from the current domain.
This module reintroduces that dialog to complement the current widget with the
powerful search engine of Odoo.
This module reintroduces that dialog to complement the current widget
with the powerful search engine of Odoo.

View File

@@ -0,0 +1,19 @@
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 *Debug menu* and select the option *Manage 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 opens. 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.
![](../static/src/img/behaviour.gif)

View File

@@ -1,21 +0,0 @@
In any view with a domain field widget and model, but we'll make the example
with a user filter:
#. Enter debug mode.
#. Go to the *Debug menu* and select the option *Manage Filters*
#. Create a new one
#. Put a name to the filter and select a model (e.g.: Contact)
#. Click on the record selection button and a list dialog opens. 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.
.. figure:: ../static/src/img/behaviour.gif
:align: center
:width: 600 px