From c7cca1110d4d5ef0616f380978e752f3d6980a0d Mon Sep 17 00:00:00 2001 From: "bastian.guenther@ametras.com" Date: Fri, 5 Feb 2021 14:38:16 +0100 Subject: [PATCH] [MIG] web_ir_actions_close_wizard_refresh_view: Migration to 13.0 --- web_ir_actions_close_wizard_refresh_view/README.rst | 12 ++++++------ .../__manifest__.py | 2 +- web_ir_actions_close_wizard_refresh_view/i18n/es.po | 2 +- .../web_ir_actions_close_wizard_refresh_view.pot | 2 +- .../static/description/index.html | 6 +++--- .../js/web_ir_actions_close_wizard_refresh_view.js | 3 +-- 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/web_ir_actions_close_wizard_refresh_view/README.rst b/web_ir_actions_close_wizard_refresh_view/README.rst index a0ab714821a4..29cada6c282a 100644 --- a/web_ir_actions_close_wizard_refresh_view/README.rst +++ b/web_ir_actions_close_wizard_refresh_view/README.rst @@ -14,16 +14,16 @@ Close Wizard Refresh View :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/12.0/web_ir_actions_close_wizard_refresh_view + :target: https://github.com/OCA/web/tree/13.0/web_ir_actions_close_wizard_refresh_view :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_ir_actions_close_wizard_refresh_view + :target: https://translation.odoo-community.org/projects/web-13.0/web-13.0-web_ir_actions_close_wizard_refresh_view :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/12.0 + :target: https://runbot.odoo-community.org/runbot/162/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Let reload the data in a view, while closing a wizard, without reloading the page. @@ -56,7 +56,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 -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -81,6 +81,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_ir_actions_close_wizard_refresh_view/__manifest__.py b/web_ir_actions_close_wizard_refresh_view/__manifest__.py index 2c41c7d3d692..2fbc8610e2d8 100644 --- a/web_ir_actions_close_wizard_refresh_view/__manifest__.py +++ b/web_ir_actions_close_wizard_refresh_view/__manifest__.py @@ -7,7 +7,7 @@ "version": "13.0.1.0.0", "development_status": "Beta", "author": "LevelPrime srl, " "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/web/tree/12.0/" + "website": "https://github.com/OCA/web/tree/13.0/" "web_ir_actions_close_wizard_refresh_view", "license": "AGPL-3", "category": "Web", diff --git a/web_ir_actions_close_wizard_refresh_view/i18n/es.po b/web_ir_actions_close_wizard_refresh_view/i18n/es.po index 7461f0845d7e..cdd0dca4a857 100644 --- a/web_ir_actions_close_wizard_refresh_view/i18n/es.po +++ b/web_ir_actions_close_wizard_refresh_view/i18n/es.po @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" diff --git a/web_ir_actions_close_wizard_refresh_view/i18n/web_ir_actions_close_wizard_refresh_view.pot b/web_ir_actions_close_wizard_refresh_view/i18n/web_ir_actions_close_wizard_refresh_view.pot index d2e396f159e1..cb19bcd0947c 100644 --- a/web_ir_actions_close_wizard_refresh_view/i18n/web_ir_actions_close_wizard_refresh_view.pot +++ b/web_ir_actions_close_wizard_refresh_view/i18n/web_ir_actions_close_wizard_refresh_view.pot @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/web_ir_actions_close_wizard_refresh_view/static/description/index.html b/web_ir_actions_close_wizard_refresh_view/static/description/index.html index 4a56796107d8..0f00ae78d083 100644 --- a/web_ir_actions_close_wizard_refresh_view/static/description/index.html +++ b/web_ir_actions_close_wizard_refresh_view/static/description/index.html @@ -367,7 +367,7 @@

Close Wizard Refresh View

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

Let reload the data in a view, while closing a wizard, without reloading the page.

Table of contents

@@ -401,7 +401,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 -feedback.

+feedback.

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

@@ -419,7 +419,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/web project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js b/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js index 1b606e72f196..59372440ace9 100644 --- a/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js +++ b/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js @@ -15,8 +15,7 @@ odoo.define("web_ir_actions_close_wizard_refresh_view", function(require) { this._closeDialog(); var state = this._getControllerState(this.getCurrentController().jsID); - - return $.when(this.loadState(state)); + return Promise.resolve(this.loadState(state)); }, }); });