From 0b4abd1158d7064131e3f24c46a85881e6b7f7b5 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Mon, 26 Mar 2018 13:23:15 +0200 Subject: [PATCH] [10.0][MIG] base_tier_validation --- base_tier_validation/README.rst | 2 +- base_tier_validation/{__openerp__.py => __manifest__.py} | 2 +- base_tier_validation/models/tier_definition.py | 2 +- base_tier_validation/models/tier_review.py | 2 +- base_tier_validation/models/tier_validation.py | 6 +++--- base_tier_validation/views/tier_definition_view.xml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename base_tier_validation/{__openerp__.py => __manifest__.py} (95%) diff --git a/base_tier_validation/README.rst b/base_tier_validation/README.rst index 8e27d1d..76bf575 100644 --- a/base_tier_validation/README.rst +++ b/base_tier_validation/README.rst @@ -27,7 +27,7 @@ To configure this module, you need to: .. 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 Known issues / Roadmap ====================== diff --git a/base_tier_validation/__openerp__.py b/base_tier_validation/__manifest__.py similarity index 95% rename from base_tier_validation/__openerp__.py rename to base_tier_validation/__manifest__.py index c9d97d9..1f2df18 100644 --- a/base_tier_validation/__openerp__.py +++ b/base_tier_validation/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Base Tier Validation", "summary": "Implement a validation process based on tiers.", - "version": "9.0.1.0.1", + "version": "10.0.1.0.0", "category": "Tools", "website": "https://github.com/OCA/server-tools", "author": "Eficent, Odoo Community Association (OCA)", diff --git a/base_tier_validation/models/tier_definition.py b/base_tier_validation/models/tier_definition.py index ffa8144..c1ef1f9 100644 --- a/base_tier_validation/models/tier_definition.py +++ b/base_tier_validation/models/tier_definition.py @@ -2,7 +2,7 @@ # Copyright 2017 Eficent Business and IT Consulting Services S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from openerp import api, fields, models +from odoo import api, fields, models class TierDefinition(models.Model): diff --git a/base_tier_validation/models/tier_review.py b/base_tier_validation/models/tier_review.py index e7afe7a..e34e713 100644 --- a/base_tier_validation/models/tier_review.py +++ b/base_tier_validation/models/tier_review.py @@ -2,7 +2,7 @@ # Copyright 2017 Eficent Business and IT Consulting Services S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from openerp import api, fields, models +from odoo import api, fields, models class TierReview(models.Model): diff --git a/base_tier_validation/models/tier_validation.py b/base_tier_validation/models/tier_validation.py index 739b2d6..ff7a4ea 100644 --- a/base_tier_validation/models/tier_validation.py +++ b/base_tier_validation/models/tier_validation.py @@ -2,9 +2,9 @@ # Copyright 2017 Eficent Business and IT Consulting Services S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from openerp import api, fields, models, _ -from openerp.exceptions import ValidationError, UserError -from openerp.tools.safe_eval import safe_eval +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError, UserError +from odoo.tools.safe_eval import safe_eval class TierValidation(models.AbstractModel): diff --git a/base_tier_validation/views/tier_definition_view.xml b/base_tier_validation/views/tier_definition_view.xml index 5511b38..5aadc35 100644 --- a/base_tier_validation/views/tier_definition_view.xml +++ b/base_tier_validation/views/tier_definition_view.xml @@ -37,7 +37,7 @@ - +