diff --git a/currency_rate_update/__manifest__.py b/currency_rate_update/__manifest__.py index ac7a6602e..a810ded94 100644 --- a/currency_rate_update/__manifest__.py +++ b/currency_rate_update/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Currency Rate Update", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "author": "Camptocamp,Odoo Community Association (OCA)", "website": "http://camptocamp.com", "license": "AGPL-3", @@ -21,5 +21,5 @@ ], "images": [], "demo": [], - 'installable': False + 'installable': True } diff --git a/currency_rate_update/model/company.py b/currency_rate_update/model/company.py index f88ce6514..8ab0d0c1a 100644 --- a/currency_rate_update/model/company.py +++ b/currency_rate_update/model/company.py @@ -2,7 +2,7 @@ # © 2009-2016 Camptocamp # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api +from odoo import models, fields, api class ResCompany(models.Model): diff --git a/currency_rate_update/model/currency_rate_update.py b/currency_rate_update/model/currency_rate_update.py index f565df592..f2dedf794 100644 --- a/currency_rate_update/model/currency_rate_update.py +++ b/currency_rate_update/model/currency_rate_update.py @@ -8,8 +8,8 @@ import logging from datetime import datetime, time from dateutil.relativedelta import relativedelta -from openerp import models, fields, api, _ -from openerp import exceptions +from odoo import models, fields, api, _ +from odoo import exceptions from ..services.currency_getter_interface import CurrencyGetterType diff --git a/currency_rate_update/security/rule.xml b/currency_rate_update/security/rule.xml index 835618857..2de7a9379 100644 --- a/currency_rate_update/security/rule.xml +++ b/currency_rate_update/security/rule.xml @@ -1,5 +1,5 @@ - + @@ -10,4 +10,4 @@ - + diff --git a/currency_rate_update/services/currency_getter_interface.py b/currency_rate_update/services/currency_getter_interface.py index f1a4b1ee0..40e350482 100644 --- a/currency_rate_update/services/currency_getter_interface.py +++ b/currency_rate_update/services/currency_getter_interface.py @@ -5,8 +5,8 @@ import logging from datetime import datetime -from openerp import fields -from openerp.exceptions import except_orm +from odoo import fields +from odoo.exceptions import except_orm _logger = logging.getLogger(__name__) @@ -74,7 +74,7 @@ class CurrencyGetterInterface(object): For example:: - from openerp.addons.currency_rate_update \ + from odoo.addons.currency_rate_update \ import CurrencyGetterInterface class MySuperCurrencyGetter(CurrencyGetterInterface): diff --git a/currency_rate_update/services/update_service_CA_BOC.py b/currency_rate_update/services/update_service_CA_BOC.py index d50fada88..853adfeab 100644 --- a/currency_rate_update/services/update_service_CA_BOC.py +++ b/currency_rate_update/services/update_service_CA_BOC.py @@ -5,8 +5,8 @@ from .currency_getter_interface import CurrencyGetterInterface -from openerp import _ -from openerp.exceptions import except_orm +from odoo import _ +from odoo.exceptions import except_orm import logging _logger = logging.getLogger(__name__) diff --git a/currency_rate_update/services/update_service_CH_ADMIN.py b/currency_rate_update/services/update_service_CH_ADMIN.py index e2e32aea2..93e329db8 100644 --- a/currency_rate_update/services/update_service_CH_ADMIN.py +++ b/currency_rate_update/services/update_service_CH_ADMIN.py @@ -5,7 +5,7 @@ from .currency_getter_interface import CurrencyGetterInterface import logging from datetime import datetime -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT +from odoo.tools import DEFAULT_SERVER_DATE_FORMAT _logger = logging.getLogger(__name__) diff --git a/currency_rate_update/services/update_service_ECB.py b/currency_rate_update/services/update_service_ECB.py index 16156e98a..33121a409 100644 --- a/currency_rate_update/services/update_service_ECB.py +++ b/currency_rate_update/services/update_service_ECB.py @@ -6,7 +6,7 @@ from .currency_getter_interface import CurrencyGetterInterface from datetime import datetime -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT +from odoo.tools import DEFAULT_SERVER_DATE_FORMAT import logging _logger = logging.getLogger(__name__) diff --git a/currency_rate_update/services/update_service_PL_NBP.py b/currency_rate_update/services/update_service_PL_NBP.py index e25ad925e..aabf15609 100644 --- a/currency_rate_update/services/update_service_PL_NBP.py +++ b/currency_rate_update/services/update_service_PL_NBP.py @@ -6,7 +6,7 @@ from .currency_getter_interface import CurrencyGetterInterface from datetime import datetime -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT +from odoo.tools import DEFAULT_SERVER_DATE_FORMAT import logging _logger = logging.getLogger(__name__) diff --git a/currency_rate_update/view/company_view.xml b/currency_rate_update/view/company_view.xml index 1700f10cf..a21a1a25f 100644 --- a/currency_rate_update/view/company_view.xml +++ b/currency_rate_update/view/company_view.xml @@ -1,4 +1,4 @@ - + res.company.form.inherit @@ -18,5 +18,5 @@ - + diff --git a/currency_rate_update/view/currency_rate_update.xml b/currency_rate_update/view/currency_rate_update.xml index bd0cf62ab..d13b44a69 100644 --- a/currency_rate_update/view/currency_rate_update.xml +++ b/currency_rate_update/view/currency_rate_update.xml @@ -1,5 +1,5 @@ - + Update Rates service @@ -60,4 +60,4 @@ parent="account.menu_finance_configuration" sequence="21"/> - + diff --git a/currency_rate_update/view/service_cron_data.xml b/currency_rate_update/view/service_cron_data.xml index 8577dc632..522a23109 100644 --- a/currency_rate_update/view/service_cron_data.xml +++ b/currency_rate_update/view/service_cron_data.xml @@ -1,5 +1,5 @@ - + Currency Rate Update @@ -13,4 +13,4 @@ - +