From da8a923b86def633f4c6f5750a1609e25b7c78f2 Mon Sep 17 00:00:00 2001 From: David Vidal Date: Mon, 10 Jul 2017 17:37:55 +0200 Subject: [PATCH] [MIG] account_renumber: Migration to 10.0 --- account_renumber/README.rst | 3 ++- account_renumber/__init__.py | 3 --- account_renumber/{__openerp__.py => __manifest__.py} | 11 ++++++----- account_renumber/tests/__init__.py | 2 -- account_renumber/tests/test_account_renumber.py | 6 +++--- account_renumber/wizard/__init__.py | 2 -- account_renumber/wizard/wizard_renumber.py | 6 +++--- 7 files changed, 14 insertions(+), 19 deletions(-) rename account_renumber/{__openerp__.py => __manifest__.py} (56%) diff --git a/account_renumber/README.rst b/account_renumber/README.rst index bbbe9b3301f..006bfb30fbc 100644 --- a/account_renumber/README.rst +++ b/account_renumber/README.rst @@ -44,7 +44,7 @@ to a view of all the entries that have been renumbered. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/8.0 + :target: https://runbot.odoo-community.org/runbot/92/10.0 Bug Tracker =========== @@ -64,6 +64,7 @@ Contributors * Jordi Llinares * Joaquín Gutiérrez * Jairo Llopis +* David Vidal Maintainer ---------- diff --git a/account_renumber/__init__.py b/account_renumber/__init__.py index 29bf39f3658..3b4c3edf09c 100644 --- a/account_renumber/__init__.py +++ b/account_renumber/__init__.py @@ -1,6 +1,3 @@ # -*- coding: utf-8 -*- -# © 2009 Pexego Sistemas Informáticos. All Rights Reserved -# © 2016 Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import wizard diff --git a/account_renumber/__openerp__.py b/account_renumber/__manifest__.py similarity index 56% rename from account_renumber/__openerp__.py rename to account_renumber/__manifest__.py index da17ac1572e..b1b10abed9a 100644 --- a/account_renumber/__openerp__.py +++ b/account_renumber/__manifest__.py @@ -1,13 +1,14 @@ # -*- coding: utf-8 -*- -# © 2009 Pexego Sistemas Informáticos. All Rights Reserved -# © 2013 Pedro Manuel Baeza -# © 2013 Joaquin Gutierrez -# © 2016 Jairo Llopis +# Copyright 2009 Pexego Sistemas Informáticos. All Rights Reserved +# Copyright 2013 Pedro Manuel Baeza +# Copyright 2013 Joaquin Gutierrez +# Copyright 2016 Jairo Llopis +# Copyright 2017 David Vidal # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': "Account Renumber Wizard", - 'version': "9.0.1.0.0", + 'version': "10.0.1.0.0", 'author': "Pexego,Tecnativa,Odoo Community Association (OCA)", 'website': "http://www.pexego.es", 'category': "Accounting & Finance", diff --git a/account_renumber/tests/__init__.py b/account_renumber/tests/__init__.py index 023c444c818..8294d74d849 100644 --- a/account_renumber/tests/__init__.py +++ b/account_renumber/tests/__init__.py @@ -1,5 +1,3 @@ # -*- coding: utf-8 -*- -# © 2016 Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_account_renumber diff --git a/account_renumber/tests/test_account_renumber.py b/account_renumber/tests/test_account_renumber.py index 3f7e60f6350..ca45a864edb 100644 --- a/account_renumber/tests/test_account_renumber.py +++ b/account_renumber/tests/test_account_renumber.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- -# © 2016 Jairo Llopis +# Copyright 2016 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from datetime import date -from openerp import exceptions, fields -from openerp.tests.common import TransactionCase +from odoo import exceptions, fields +from odoo.tests.common import TransactionCase class AccountRenumberCase(TransactionCase): diff --git a/account_renumber/wizard/__init__.py b/account_renumber/wizard/__init__.py index f264c69b602..1b0233e3eb3 100644 --- a/account_renumber/wizard/__init__.py +++ b/account_renumber/wizard/__init__.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -# © 2009 Pexego Sistemas Informáticos. All Rights Reserved -# © 2016 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import wizard_renumber diff --git a/account_renumber/wizard/wizard_renumber.py b/account_renumber/wizard/wizard_renumber.py index cd5d8c0d05f..84499513c37 100644 --- a/account_renumber/wizard/wizard_renumber.py +++ b/account_renumber/wizard/wizard_renumber.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -# © 2009 Pexego Sistemas Informáticos. All Rights Reserved -# © 2016 Jairo Llopis +# Copyright 2009 Pexego Sistemas Informáticos. All Rights Reserved +# Copyright 2016 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import logging from datetime import date -from openerp import _, api, exceptions, fields, models +from odoo import _, api, exceptions, fields, models _logger = logging.getLogger(__name__)