mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_widget_domain_editor_dialog: New module
This commit is contained in:
4
web_widget_domain_editor_dialog/readme/CONTRIBUTORS.rst
Normal file
4
web_widget_domain_editor_dialog/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
* `Tecnativa <https://www.tecnativa.com>`_
|
||||
|
||||
* David Vidal <david.vidal@tecnativa.com>
|
||||
* Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
5
web_widget_domain_editor_dialog/readme/DESCRIPTION.rst
Normal file
5
web_widget_domain_editor_dialog/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
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.
|
||||
21
web_widget_domain_editor_dialog/readme/USAGE.rst
Normal file
21
web_widget_domain_editor_dialog/readme/USAGE.rst
Normal file
@@ -0,0 +1,21 @@
|
||||
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.png
|
||||
:align: center
|
||||
:width: 600 px
|
||||
Reference in New Issue
Block a user