Browse Source

[9.0][MIG] pos_payment_terminal: Backport (from 10.0)

pull/389/head
Denis Roussel 5 years ago
parent
commit
d88938301f
  1. 4
      pos_payment_terminal/__openerp__.py
  2. 2
      pos_payment_terminal/models/account_journal.py
  3. 2
      pos_payment_terminal/models/pos_config.py
  4. 1
      setup/pos_payment_terminal/odoo_addons/__init__.py
  5. 1
      setup/pos_payment_terminal/odoo_addons/pos_payment_terminal
  6. 6
      setup/pos_payment_terminal/setup.py

4
pos_payment_terminal/__manifest__.py → pos_payment_terminal/__openerp__.py

@ -5,9 +5,11 @@
{ {
'name': 'POS Payment Terminal', 'name': 'POS Payment Terminal',
'version': '10.0.0.1.1',
'version': '9.0.1.0.1',
'category': 'Point Of Sale', 'category': 'Point Of Sale',
'summary': 'Manage Payment Terminal device from POS front end', '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)", 'author': "Aurélien DUMAINE,Akretion,Odoo Community Association (OCA)",
'license': 'AGPL-3', 'license': 'AGPL-3',
'depends': ['point_of_sale'], 'depends': ['point_of_sale'],

2
pos_payment_terminal/models/account_journal.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # 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): class AccountJournal(models.Model):

2
pos_payment_terminal/models/pos_config.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # 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): class PosConfig(models.Model):

1
setup/pos_payment_terminal/odoo_addons/__init__.py

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

1
setup/pos_payment_terminal/odoo_addons/pos_payment_terminal

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

6
setup/pos_payment_terminal/setup.py

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