Browse Source

[MIG] web_decimal_numpad_dot: Migration to 11.0

pull/1097/head
David 7 years ago
committed by Pedro M. Baeza
parent
commit
11fa9ad5f8
  1. 2
      web_decimal_numpad_dot/README.rst
  2. 1
      web_decimal_numpad_dot/__init__.py
  3. 4
      web_decimal_numpad_dot/__manifest__.py
  4. 4
      web_decimal_numpad_dot/static/src/js/numpad_dot.js

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

1
web_decimal_numpad_dot/__init__.py

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

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

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

Loading…
Cancel
Save