From 35f61ffe9f4d7323c91c259954118c91067c06b1 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 29 Nov 2021 09:51:13 +0100 Subject: [PATCH] [IMP/FIX] web_widget_domain_editor_dialog: work in dialog - IMP: Now it's possible to work with the domain editor when the widget has de in_dialog option. - FIX: When a boolean opertator was present in the domain, the editor dialog would raise an error as the default filter couldn't be interpretated. TT32827 --- web_widget_domain_editor_dialog/README.rst | 15 +++++--- .../i18n/web_widget_domain_editor_dialog.pot | 2 +- .../static/description/index.html | 38 ++++++++++--------- .../static/src/js/basic_fields.js | 11 ++++++ .../src/js/widget_domain_editor_dialog.js | 18 +++++++-- 5 files changed, 56 insertions(+), 28 deletions(-) diff --git a/web_widget_domain_editor_dialog/README.rst b/web_widget_domain_editor_dialog/README.rst index fe8b1f9d7..9a3d89694 100644 --- a/web_widget_domain_editor_dialog/README.rst +++ b/web_widget_domain_editor_dialog/README.rst @@ -2,10 +2,13 @@ Web Widget Domain Editor Dialog =============================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:052469551aa8362be957db01e7194a02e2b3c68ac321bc62a189b7ebf4ee76d2 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ Web Widget Domain Editor Dialog .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_domain_editor_dialog :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/15.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=15.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Since v11 introduced the new domain editor widget it's not possible to edit the selected records from the current domain. @@ -66,7 +69,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed +If you spotted it first, help us to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. diff --git a/web_widget_domain_editor_dialog/i18n/web_widget_domain_editor_dialog.pot b/web_widget_domain_editor_dialog/i18n/web_widget_domain_editor_dialog.pot index 5be3d7b91..859e49f6b 100644 --- a/web_widget_domain_editor_dialog/i18n/web_widget_domain_editor_dialog.pot +++ b/web_widget_domain_editor_dialog/i18n/web_widget_domain_editor_dialog.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/web_widget_domain_editor_dialog/static/description/index.html b/web_widget_domain_editor_dialog/static/description/index.html index 9ecd82fcf..968ad24f2 100644 --- a/web_widget_domain_editor_dialog/static/description/index.html +++ b/web_widget_domain_editor_dialog/static/description/index.html @@ -1,20 +1,20 @@ - + - + Web Widget Domain Editor Dialog