diff --git a/account_permanent_lock_move/README.rst b/account_permanent_lock_move/README.rst index ec51d4025..c3bc54e27 100644 --- a/account_permanent_lock_move/README.rst +++ b/account_permanent_lock_move/README.rst @@ -21,7 +21,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/92/9.0 + :target: https://runbot.odoo-community.org/runbot/92/10.0 Bug Tracker =========== diff --git a/account_permanent_lock_move/__manifest__.py b/account_permanent_lock_move/__manifest__.py index 115cdf571..41b4c4ab4 100644 --- a/account_permanent_lock_move/__manifest__.py +++ b/account_permanent_lock_move/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Permanent Lock Move", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "depends": ["account"], "author": "Camptocamp,Odoo Community Association (OCA)", "website": "http://www.camptocamp.com/", @@ -14,5 +14,5 @@ ], 'license': 'AGPL-3', "auto_install": False, - 'installable': False, + 'installable': True, } diff --git a/account_permanent_lock_move/models/account_move.py b/account_permanent_lock_move/models/account_move.py index 5d9c9ba7c..079f2c934 100644 --- a/account_permanent_lock_move/models/account_move.py +++ b/account_permanent_lock_move/models/account_move.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- # © 2016 Camptocamp SA (Matthieu Dietrich) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import _, api, models -from openerp.exceptions import UserError +from odoo import _, api, models +from odoo.exceptions import UserError class AccountMove(models.Model): diff --git a/account_permanent_lock_move/models/company.py b/account_permanent_lock_move/models/company.py index 5e4bfbb63..252e734ad 100644 --- a/account_permanent_lock_move/models/company.py +++ b/account_permanent_lock_move/models/company.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # © 2016 Camptocamp SA (Matthieu Dietrich) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import fields, models +from odoo import fields, models class ResCompany(models.Model): diff --git a/account_permanent_lock_move/models/res_config.py b/account_permanent_lock_move/models/res_config.py index 1e312fff8..cbc06be99 100644 --- a/account_permanent_lock_move/models/res_config.py +++ b/account_permanent_lock_move/models/res_config.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # © 2016 Camptocamp SA (Matthieu Dietrich) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import api, fields, models +from odoo import api, fields, models class AccountConfigSettings(models.TransientModel): diff --git a/account_permanent_lock_move/tests/test_permanent_lock.py b/account_permanent_lock_move/tests/test_permanent_lock.py index 63c69c9c4..a1c75c610 100644 --- a/account_permanent_lock_move/tests/test_permanent_lock.py +++ b/account_permanent_lock_move/tests/test_permanent_lock.py @@ -2,10 +2,10 @@ # © 2016 Camptocamp SA (Matthieu Dietrich) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import datetime -from openerp import fields, tools -from openerp.modules import get_module_resource -from openerp.tests import common -from openerp.exceptions import UserError +from odoo import fields, tools +from odoo.modules import get_module_resource +from odoo.tests import common +from odoo.exceptions import UserError class PermanentLock(common.TransactionCase): diff --git a/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py b/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py index d9de74109..5502a5a7e 100644 --- a/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py +++ b/account_permanent_lock_move/wizard/permanent_lock_date_wizard.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- # © 2016 Camptocamp SA (Matthieu Dietrich) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import _, api, fields, models -from openerp.exceptions import UserError +from odoo import _, api, fields, models +from odoo.exceptions import UserError class PermanentLockDateWizard(models.TransientModel):