From 6c11d0bd25334b6294721482c85f54124e8dfcd1 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 18 Dec 2017 11:06:01 +0100 Subject: [PATCH] [MIG] web_decimal_numpad_dot: Migration to 11.0 --- web_decimal_numpad_dot/README.rst | 2 +- web_decimal_numpad_dot/__init__.py | 1 - web_decimal_numpad_dot/__manifest__.py | 4 ++-- web_decimal_numpad_dot/static/src/js/numpad_dot.js | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/web_decimal_numpad_dot/README.rst b/web_decimal_numpad_dot/README.rst index fd318468..787c7388 100644 --- a/web_decimal_numpad_dot/README.rst +++ b/web_decimal_numpad_dot/README.rst @@ -17,7 +17,7 @@ proper decimal separator for the active localization. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/web/162 + :target: https://runbot.odoo-community.org/runbot/web/162/11.0 Bug Tracker =========== diff --git a/web_decimal_numpad_dot/__init__.py b/web_decimal_numpad_dot/__init__.py index dae354a6..e69de29b 100644 --- a/web_decimal_numpad_dot/__init__.py +++ b/web_decimal_numpad_dot/__init__.py @@ -1 +0,0 @@ -# -*- encoding: utf-8 -*- diff --git a/web_decimal_numpad_dot/__manifest__.py b/web_decimal_numpad_dot/__manifest__.py index 10c957dc..857b38bb 100644 --- a/web_decimal_numpad_dot/__manifest__.py +++ b/web_decimal_numpad_dot/__manifest__.py @@ -8,7 +8,7 @@ { "name": "Web - Numpad Dot as decimal separator", - "version": "10.0.1.1.0", + "version": "11.0.1.0.0", "license": "AGPL-3", "summary": "Allows using numpad dot to enter period decimal separator", "depends": [ @@ -18,7 +18,7 @@ "Comunitea, " "Tecnativa, " "Odoo Community Association (OCA)", - "website": "https://odoo-community.org/", + "website": "https://github.com/OCA/web", "category": "Web", "data": [ "views/web_decimal_numpad_dot.xml", diff --git a/web_decimal_numpad_dot/static/src/js/numpad_dot.js b/web_decimal_numpad_dot/static/src/js/numpad_dot.js index 4e8b7de4..a9860de5 100644 --- a/web_decimal_numpad_dot/static/src/js/numpad_dot.js +++ b/web_decimal_numpad_dot/static/src/js/numpad_dot.js @@ -3,10 +3,10 @@ odoo.define("web_decimal_numpad_dot.FieldFloat", function (require) { "use strict"; - var form_widgets = require("web.form_widgets"); + var basic_fields = require("web.basic_fields"); var translation = require("web.translation"); - form_widgets.FieldFloat.include({ + basic_fields.FieldFloat.include({ init: function () { this.events = $.extend({}, this.events, { "keydown": "numpad_dot_replace",