From e6486a6137c1319de913a47d0c6fc84b91903cd1 Mon Sep 17 00:00:00 2001 From: sudhir-erpharbor Date: Fri, 4 Oct 2019 11:53:36 +0530 Subject: [PATCH] [MIG] Migrated web_dialog_size module in v13. --- web_dialog_size/README.rst | 2 ++ web_dialog_size/__manifest__.py | 2 +- web_dialog_size/readme/CONTRIBUTORS.rst | 2 ++ web_dialog_size/static/src/js/web_dialog_size.js | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web_dialog_size/README.rst b/web_dialog_size/README.rst index ee62e1816..4437d9a4a 100644 --- a/web_dialog_size/README.rst +++ b/web_dialog_size/README.rst @@ -81,6 +81,8 @@ Contributors * Jairo Llopis * Ernesto Tejeda +* Sudhir Arya + Maintainers ~~~~~~~~~~~ diff --git a/web_dialog_size/__manifest__.py b/web_dialog_size/__manifest__.py index 31f85ac95..b1ed4884d 100644 --- a/web_dialog_size/__manifest__.py +++ b/web_dialog_size/__manifest__.py @@ -15,7 +15,7 @@ "Odoo Community Association (OCA)", 'website': "http://github.com/OCA/web", 'category': 'web', - 'version': '12.0.1.0.0', + 'version': '13.0.1.0.0', 'license': 'AGPL-3', 'depends': [ 'web', diff --git a/web_dialog_size/readme/CONTRIBUTORS.rst b/web_dialog_size/readme/CONTRIBUTORS.rst index e78168e41..680c63cd4 100644 --- a/web_dialog_size/readme/CONTRIBUTORS.rst +++ b/web_dialog_size/readme/CONTRIBUTORS.rst @@ -10,3 +10,5 @@ * Pedro M. Baeza * Jairo Llopis * Ernesto Tejeda + +* Sudhir Arya diff --git a/web_dialog_size/static/src/js/web_dialog_size.js b/web_dialog_size/static/src/js/web_dialog_size.js index 7c5ab7c5b..e83bbcea5 100644 --- a/web_dialog_size/static/src/js/web_dialog_size.js +++ b/web_dialog_size/static/src/js/web_dialog_size.js @@ -16,7 +16,7 @@ Dialog.include({ return this._super.apply(this, arguments).then(function () { self.$modal.find('.dialog_button_extend').on('click', self.proxy('_extending')); self.$modal.find('.dialog_button_restore').on('click', self.proxy('_restore')); - return config.done(function(r) { + return (function(r) { if (r.default_maximize) { self._extending(); } else {