Merge pull request #410 from acsone/10-mig-account_permanent_lock_move-ape

Migration of account_permanent_lock_move to 10.0
This commit is contained in:
Stéphane Bidoul (ACSONE)
2017-04-26 13:56:23 +02:00
committed by GitHub
11 changed files with 22 additions and 13 deletions

View File

@@ -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
===========

View File

@@ -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,
}

View File

@@ -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):

View File

@@ -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):

View File

@@ -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):

View File

@@ -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):

View File

@@ -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):

View File

@@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

View File

@@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

View File

@@ -0,0 +1 @@
../../../../account_permanent_lock_move

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)