diff --git a/dead_mans_switch_client/README.rst b/dead_mans_switch_client/README.rst index 4dcc8cc99..534b3bfde 100644 --- a/dead_mans_switch_client/README.rst +++ b/dead_mans_switch_client/README.rst @@ -30,7 +30,7 @@ This module doesn't have any visible effect on the client. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/9.0 + :target: https://runbot.odoo-community.org/runbot/149/10.0 For further information, please visit: @@ -57,6 +57,7 @@ Contributors * Holger Brunn * Jairo Llopis +* Miku Laitinen Maintainer ---------- diff --git a/dead_mans_switch_client/__manifest__.py b/dead_mans_switch_client/__manifest__.py index 3fd99f862..bb9e3c6af 100644 --- a/dead_mans_switch_client/__manifest__.py +++ b/dead_mans_switch_client/__manifest__.py @@ -1,13 +1,14 @@ # -*- coding: utf-8 -*- # © 2015-2016 Therp BV +# © 2017 Avoin.Systems - Miku Laitinen # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Dead man's switch (client)", - "version": "9.0.1.0.1", - "author": "Therp BV,Odoo Community Association (OCA)", + "version": "10.0.1.0.0", + "author": "Therp BV, Odoo Community Association (OCA)", "license": "AGPL-3", "category": "Monitoring", - "summary": "Be notified when customers' odoo instances go down", + "summary": "Be notified when customers' Odoo instances go down", "depends": [ 'base', ], @@ -18,5 +19,5 @@ "demo": [ "demo/dead_mans_switch_client_demo.yml", ], - 'installable': False, + 'installable': True, } diff --git a/dead_mans_switch_client/data/ir_actions.xml b/dead_mans_switch_client/data/ir_actions.xml index 5728882a5..017f44dc4 100644 --- a/dead_mans_switch_client/data/ir_actions.xml +++ b/dead_mans_switch_client/data/ir_actions.xml @@ -1,13 +1,11 @@ - - - - - Configure the dead man's switch server - automatic - - - - + + + + Configure the dead man's switch server + automatic + + + diff --git a/dead_mans_switch_client/data/ir_cron.xml b/dead_mans_switch_client/data/ir_cron.xml index fe786326d..7e04c2fb4 100644 --- a/dead_mans_switch_client/data/ir_cron.xml +++ b/dead_mans_switch_client/data/ir_cron.xml @@ -1,13 +1,11 @@ - - - - Dead man's switch client - 5 - minutes - -1 - dead.mans.switch.client - alive - - - + + + Dead man's switch client + 5 + minutes + -1 + dead.mans.switch.client + alive + + diff --git a/dead_mans_switch_client/models/dead_mans_switch_client.py b/dead_mans_switch_client/models/dead_mans_switch_client.py index ac158db82..9f11ac3dc 100644 --- a/dead_mans_switch_client/models/dead_mans_switch_client.py +++ b/dead_mans_switch_client/models/dead_mans_switch_client.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # © 2015-2016 Therp BV # © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis +# © 2017 Avoin.Systems - Miku Laitinen # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import json import logging @@ -10,8 +11,8 @@ try: except ImportError: # pragma: no cover psutil = None import urllib2 -from openerp import api, models -from openerp.tools.config import config +from odoo import api, models +from odoo.tools.config import config SEND_TIMEOUT = 60 diff --git a/dead_mans_switch_client/tests/test_dead_mans_switch_client.py b/dead_mans_switch_client/tests/test_dead_mans_switch_client.py index e4d849f93..29ffde587 100644 --- a/dead_mans_switch_client/tests/test_dead_mans_switch_client.py +++ b/dead_mans_switch_client/tests/test_dead_mans_switch_client.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- # © 2015 Therp BV +# © 2017 Avoin.Systems - Miku Laitinen # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase class TestDeadMansSwitchClient(TransactionCase):