diff --git a/pos_payment_terminal/__manifest__.py b/pos_payment_terminal/__openerp__.py similarity index 86% rename from pos_payment_terminal/__manifest__.py rename to pos_payment_terminal/__openerp__.py index 9ffb03a9..ac6aad19 100644 --- a/pos_payment_terminal/__manifest__.py +++ b/pos_payment_terminal/__openerp__.py @@ -5,9 +5,11 @@ { 'name': 'POS Payment Terminal', - 'version': '10.0.0.1.1', + 'version': '9.0.1.0.1', 'category': 'Point Of Sale', 'summary': 'Manage Payment Terminal device from POS front end', + 'website': 'https://github.com/OCA/pos', + 'development_status': 'Stable/Production', 'author': "Aurélien DUMAINE,Akretion,Odoo Community Association (OCA)", 'license': 'AGPL-3', 'depends': ['point_of_sale'], diff --git a/pos_payment_terminal/models/account_journal.py b/pos_payment_terminal/models/account_journal.py index 6f7c9678..66fb0e75 100644 --- a/pos_payment_terminal/models/account_journal.py +++ b/pos_payment_terminal/models/account_journal.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields +from openerp import models, fields class AccountJournal(models.Model): diff --git a/pos_payment_terminal/models/pos_config.py b/pos_payment_terminal/models/pos_config.py index 2d7da41a..fe7d95c5 100644 --- a/pos_payment_terminal/models/pos_config.py +++ b/pos_payment_terminal/models/pos_config.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields +from openerp import models, fields class PosConfig(models.Model): diff --git a/setup/pos_payment_terminal/odoo_addons/__init__.py b/setup/pos_payment_terminal/odoo_addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/pos_payment_terminal/odoo_addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/pos_payment_terminal/odoo_addons/pos_payment_terminal b/setup/pos_payment_terminal/odoo_addons/pos_payment_terminal new file mode 120000 index 00000000..66a980f4 --- /dev/null +++ b/setup/pos_payment_terminal/odoo_addons/pos_payment_terminal @@ -0,0 +1 @@ +../../../pos_payment_terminal/ \ No newline at end of file diff --git a/setup/pos_payment_terminal/setup.py b/setup/pos_payment_terminal/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/pos_payment_terminal/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)