Skip to content

Commit

Permalink
[MIG] web_decimal_numpad_dot: Migration to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu authored and emagdalenaC2i committed Oct 14, 2019
1 parent 9a9fdcb commit 66ceb23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web_decimal_numpad_dot/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
===========
Expand Down
1 change: 0 additions & 1 deletion web_decimal_numpad_dot/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
# -*- encoding: utf-8 -*-
4 changes: 2 additions & 2 deletions web_decimal_numpad_dot/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web_decimal_numpad_dot/static/src/js/numpad_dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 66ceb23

Please sign in to comment.