From 8a784ba97b3e1b35af299f044497eb53194d56d9 Mon Sep 17 00:00:00 2001 From: bima Date: Tue, 23 May 2017 21:36:56 +0700 Subject: [PATCH] [10.0] Migration RMA Location --- crm_rma_location/__init__.py | 4 ++-- crm_rma_location/__manifest__.py | 4 ++-- crm_rma_location/models/stock_warehouse.py | 2 +- crm_rma_location/tests/test_location_rma.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crm_rma_location/__init__.py b/crm_rma_location/__init__.py index 92b1a87d..582ba16f 100644 --- a/crm_rma_location/__init__.py +++ b/crm_rma_location/__init__.py @@ -4,8 +4,8 @@ from . import models -from openerp import SUPERUSER_ID -from openerp.api import Environment +from odoo import SUPERUSER_ID +from odoo.api import Environment def post_init_hook(cr, registry): diff --git a/crm_rma_location/__manifest__.py b/crm_rma_location/__manifest__.py index aa34421e..72ca48f0 100644 --- a/crm_rma_location/__manifest__.py +++ b/crm_rma_location/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'RMA Location', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'author': "Vauxoo, Odoo Community Association (OCA)", 'license': 'AGPL-3', 'website': 'http://www.camptocamp.com,http://www.vauxoo.com', @@ -17,6 +17,6 @@ 'views/stock_warehouse.xml', ], 'post_init_hook': 'post_init_hook', - 'installable': False, + 'installable': True, 'auto_install': False, } diff --git a/crm_rma_location/models/stock_warehouse.py b/crm_rma_location/models/stock_warehouse.py index 6a52109b..e18edd2b 100644 --- a/crm_rma_location/models/stock_warehouse.py +++ b/crm_rma_location/models/stock_warehouse.py @@ -3,7 +3,7 @@ # © 2015 Osval Reyes, Yanina Aular, Vauxoo # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import _, api, fields, models +from odoo import _, api, fields, models class StockWarehouse(models.Model): diff --git a/crm_rma_location/tests/test_location_rma.py b/crm_rma_location/tests/test_location_rma.py index 4c04bcc6..43ef1d4a 100644 --- a/crm_rma_location/tests/test_location_rma.py +++ b/crm_rma_location/tests/test_location_rma.py @@ -2,7 +2,7 @@ # © 2015 Osval Reyes, Vauxoo # 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 TestLocationRma(TransactionCase):