From 2b2666a7ce768c5f95e52c7eb71bb1b6afc6dd6a Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Thu, 29 Dec 2016 16:06:56 -0800 Subject: [PATCH] [MIG] base_kanban_stage: Upgrade to v10 * Rename manifest * Change openerp references to odoo * Bump version --- base_kanban_stage/README.rst | 2 +- base_kanban_stage/{__openerp__.py => __manifest__.py} | 2 +- base_kanban_stage/models/base_kanban_abstract.py | 2 +- base_kanban_stage/models/base_kanban_stage.py | 2 +- base_kanban_stage/tests/test_base_kanban_abstract.py | 4 ++-- base_kanban_stage/tests/test_base_kanban_stage.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename base_kanban_stage/{__openerp__.py => __manifest__.py} (95%) diff --git a/base_kanban_stage/README.rst b/base_kanban_stage/README.rst index 8d2563d4e..7fe39570c 100644 --- a/base_kanban_stage/README.rst +++ b/base_kanban_stage/README.rst @@ -60,7 +60,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/162/9.0 + :target: https://runbot.odoo-community.org/runbot/162/10.0 Known Issues / Roadmap ====================== diff --git a/base_kanban_stage/__openerp__.py b/base_kanban_stage/__manifest__.py similarity index 95% rename from base_kanban_stage/__openerp__.py rename to base_kanban_stage/__manifest__.py index eeec97fa3..213f9b6d8 100644 --- a/base_kanban_stage/__openerp__.py +++ b/base_kanban_stage/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Kanban - Stage Support', 'summary': 'Provides stage model and abstract logic for inheritance', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'author': "LasLabs, Odoo Community Association (OCA)", 'category': 'base', 'depends': [ diff --git a/base_kanban_stage/models/base_kanban_abstract.py b/base_kanban_stage/models/base_kanban_abstract.py index 2c699f18e..d1b03901c 100644 --- a/base_kanban_stage/models/base_kanban_abstract.py +++ b/base_kanban_stage/models/base_kanban_abstract.py @@ -2,7 +2,7 @@ # Copyright 2016 LasLabs Inc. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import api, fields, models +from odoo import api, fields, models class BaseKanbanAbstract(models.AbstractModel): diff --git a/base_kanban_stage/models/base_kanban_stage.py b/base_kanban_stage/models/base_kanban_stage.py index 046fb5a65..adfb0e2ed 100644 --- a/base_kanban_stage/models/base_kanban_stage.py +++ b/base_kanban_stage/models/base_kanban_stage.py @@ -2,7 +2,7 @@ # Copyright 2016 LasLabs Inc. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import api, fields, models +from odoo import api, fields, models class BaseKanbanStage(models.Model): diff --git a/base_kanban_stage/tests/test_base_kanban_abstract.py b/base_kanban_stage/tests/test_base_kanban_abstract.py index e11291722..848718b5f 100644 --- a/base_kanban_stage/tests/test_base_kanban_abstract.py +++ b/base_kanban_stage/tests/test_base_kanban_abstract.py @@ -2,8 +2,8 @@ # Copyright 2016 LasLabs Inc. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import models -from openerp.tests.common import TransactionCase +from odoo import models +from odoo.tests.common import TransactionCase class BaseKanbanAbstractTester(models.Model): diff --git a/base_kanban_stage/tests/test_base_kanban_stage.py b/base_kanban_stage/tests/test_base_kanban_stage.py index 7e089ff7b..e60a6669a 100644 --- a/base_kanban_stage/tests/test_base_kanban_stage.py +++ b/base_kanban_stage/tests/test_base_kanban_stage.py @@ -2,7 +2,7 @@ # Copyright 2016 LasLabs Inc. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase class TestBaseKanbanStage(TransactionCase):