Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
07a4852
[ADD] web_widget_domain_editor_dialog: New module
chienandalu Jan 31, 2019
aefdaf7
[MIG] web_widget_domain_editor_dialog: Migration to 12.0.
darshan-odoo May 14, 2019
81648d9
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
c949963
[IMP] web_widget_domain_editor_dialog: black, isort, prettier
CarlosRoca13 Sep 25, 2020
4053b8b
[MIG] web_widget_domain_editor_dialog: Migration to v13.0
CarlosRoca13 Oct 8, 2020
a354071
[13.0][web_widget_domain_editor_dialog][FIX] Error when used in wizards.
JordiBForgeFlow Jan 22, 2021
0a2b88b
[13.0][FIX] web_widget_domain_editor_dialog: Example picture not disp…
newtratip Mar 19, 2021
0b030b7
[IMP] web_widget_domain_editor_dialog: black, isort, prettier
hkapatel-initos Sep 28, 2021
448dfee
[MIG] web_widget_domain_editor_dialog: Migration to 14.0
hkapatel-initos Sep 28, 2021
7abec91
[MIG] web_widget_domain_editor_dialog: Migration to 15.0
celm1990 Jan 27, 2022
7967a8e
[IMP/FIX] web_widget_domain_editor_dialog: work in dialog
chienandalu Nov 29, 2021
f1442fe
[FIX] web_widget_domain_editor_dialog: keep context
chienandalu Oct 18, 2023
26f4c1b
[MIG] web_widget_domain_editor_dialog: Migration to 16.0
CarlosRoca13 Nov 14, 2023
d669b56
Added translation using Weblate (Italian)
mymage Mar 5, 2024
995d732
[IMP] web_widget_domain_editor_dialog: pre-commit auto fixes
chienandalu Jul 5, 2024
3a24899
[MIG] web_widget_domain_editor_dialog: Migration to 17.0
chienandalu Jul 5, 2024
eefd99a
[MIG] web_widget_domain_editor_dialog: Migration to 18.0
Jul 28, 2025
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
115 changes: 115 additions & 0 deletions web_widget_domain_editor_dialog/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
===============================
Web Widget Domain Editor Dialog
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a19a57ea34b8bf09bb11728f135294a703e7b7da461f205bc77a8ce798c2ff0f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/18.0/web_widget_domain_editor_dialog
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_domain_editor_dialog
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides the ability to edit domains via the wizard,
allowing users to easily view and manage records. By doing so, it takes
full advantage of Odoo’s powerful search functionality, enhancing the
overall user experience and streamlining data management.

**Table of contents**

.. contents::
:local:

Usage
=====

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.

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_widget_domain_editor_dialog/static/src/img/behaviour.gif

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_widget_domain_editor_dialog%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `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>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_widget_domain_editor_dialog>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
18 changes: 18 additions & 0 deletions web_widget_domain_editor_dialog/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2019 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Web Widget Domain Editor Dialog",
"summary": "Recovers the Domain Editor Dialog functionality",
"version": "18.0.1.0.0",
"category": "Web",
"author": "Tecnativa," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "AGPL-3",
"depends": ["web"],
"assets": {
"web.assets_backend": [
"/web_widget_domain_editor_dialog/static/src/js/*.esm.js",
],
},
"installable": True,
}
34 changes: 34 additions & 0 deletions web_widget_domain_editor_dialog/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_domain_editor_dialog
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-22 11:23+0000\n"
"PO-Revision-Date: 2019-02-22 11:23+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Select records..."
msgstr "Seleccionar registros..."

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Selected domain"
msgstr "Dominio seleccionado"

#~ msgid "Custom Filter"
#~ msgstr "Filtro personalizado"
31 changes: 31 additions & 0 deletions web_widget_domain_editor_dialog/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_domain_editor_dialog
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-05 14:40+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Select records..."
msgstr "Selezionare record..."

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Selected domain"
msgstr "Dominio selezionato"
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_domain_editor_dialog
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Select records..."
msgstr ""

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Selected domain"
msgstr ""
34 changes: 34 additions & 0 deletions web_widget_domain_editor_dialog/i18n/zh_CN.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_domain_editor_dialog
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-09-01 17:23+0000\n"
"Last-Translator: 黎伟杰 <674416404@qq.com>\n"
"Language-Team: none\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 3.8\n"

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Select records..."
msgstr "选择记录..."

#. module: web_widget_domain_editor_dialog
#. odoo-javascript
#: code:addons/web_widget_domain_editor_dialog/static/src/js/domain_field.esm.js:0
#, python-format
msgid "Selected domain"
msgstr "选定的域"

#~ msgid "Custom Filter"
#~ msgstr "定制筛选器"
3 changes: 3 additions & 0 deletions web_widget_domain_editor_dialog/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
7 changes: 7 additions & 0 deletions web_widget_domain_editor_dialog/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -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>\>
4 changes: 4 additions & 0 deletions web_widget_domain_editor_dialog/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This module provides the ability to edit domains via the wizard, allowing
users to easily view and manage records. By doing so, it takes full
advantage of Odoo’s powerful search functionality, enhancing the overall
user experience and streamlining data management.
19 changes: 19 additions & 0 deletions web_widget_domain_editor_dialog/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -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 *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.

![](../static/src/img/behaviour.gif)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading