3
0
Fork 0

[MIG] web_decimal_numpad_dot: Migration to 11.0

12.0
David 2017-12-18 11:06:01 +01:00 committed by Pedro M. Baeza
parent f892e30a6f
commit 11fa9ad5f8
4 changed files with 5 additions and 6 deletions

View File

@ -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
===========

View File

@ -1 +0,0 @@
# -*- encoding: utf-8 -*-

View File

@ -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",

View File

@ -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",