forked from Techsystech/web
[MIG] web_decimal_numpad_dot: Migration to 11.0
parent
f892e30a6f
commit
11fa9ad5f8
|
@ -17,7 +17,7 @@ proper decimal separator for the active localization.
|
||||||
|
|
||||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
:alt: Try me on Runbot
|
: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
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
# -*- encoding: utf-8 -*-
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Web - Numpad Dot as decimal separator",
|
"name": "Web - Numpad Dot as decimal separator",
|
||||||
"version": "10.0.1.1.0",
|
"version": "11.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"summary": "Allows using numpad dot to enter period decimal separator",
|
"summary": "Allows using numpad dot to enter period decimal separator",
|
||||||
"depends": [
|
"depends": [
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
"Comunitea, "
|
"Comunitea, "
|
||||||
"Tecnativa, "
|
"Tecnativa, "
|
||||||
"Odoo Community Association (OCA)",
|
"Odoo Community Association (OCA)",
|
||||||
"website": "https://odoo-community.org/",
|
"website": "https://github.com/OCA/web",
|
||||||
"category": "Web",
|
"category": "Web",
|
||||||
"data": [
|
"data": [
|
||||||
"views/web_decimal_numpad_dot.xml",
|
"views/web_decimal_numpad_dot.xml",
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
odoo.define("web_decimal_numpad_dot.FieldFloat", function (require) {
|
odoo.define("web_decimal_numpad_dot.FieldFloat", function (require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var form_widgets = require("web.form_widgets");
|
var basic_fields = require("web.basic_fields");
|
||||||
var translation = require("web.translation");
|
var translation = require("web.translation");
|
||||||
|
|
||||||
form_widgets.FieldFloat.include({
|
basic_fields.FieldFloat.include({
|
||||||
init: function () {
|
init: function () {
|
||||||
this.events = $.extend({}, this.events, {
|
this.events = $.extend({}, this.events, {
|
||||||
"keydown": "numpad_dot_replace",
|
"keydown": "numpad_dot_replace",
|
||||||
|
|
Loading…
Reference in New Issue