diff --git a/account_payment_purchase/README.rst b/account_payment_purchase/README.rst index b5f403209..f5d7031e2 100644 --- a/account_payment_purchase/README.rst +++ b/account_payment_purchase/README.rst @@ -72,6 +72,7 @@ Contributors * Danimar Ribeiro * Raphaƫl Valyi * Vicent Cubells +* Abraham Anes Maintainer ---------- diff --git a/account_payment_purchase/__openerp__.py b/account_payment_purchase/__manifest__.py similarity index 96% rename from account_payment_purchase/__openerp__.py rename to account_payment_purchase/__manifest__.py index 089a02898..bd5c1ce5b 100644 --- a/account_payment_purchase/__openerp__.py +++ b/account_payment_purchase/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Account Payment Purchase', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Banking addons', 'license': 'AGPL-3', 'summary': "Adds Bank Account and Payment Mode on Purchase Orders", diff --git a/account_payment_purchase/models/account_invoice.py b/account_payment_purchase/models/account_invoice.py index 36b70aacb..98ebafee8 100644 --- a/account_payment_purchase/models/account_invoice.py +++ b/account_payment_purchase/models/account_invoice.py @@ -3,7 +3,7 @@ # Copyright 2017 Tecnativa - Vicent Cubells. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import _, api, models +from odoo import _, api, models class AccountInvoice(models.Model): diff --git a/account_payment_purchase/models/procurement_order.py b/account_payment_purchase/models/procurement_order.py index e8fd073cf..6d1aa687d 100644 --- a/account_payment_purchase/models/procurement_order.py +++ b/account_payment_purchase/models/procurement_order.py @@ -2,7 +2,7 @@ # Copyright 2015 Tecnativa - Pedro M. Baeza # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from openerp import api, models +from odoo import api, models class ProcurementOrder(models.Model): diff --git a/account_payment_purchase/models/purchase_order.py b/account_payment_purchase/models/purchase_order.py index 5cc4c8cb3..07cbed0af 100644 --- a/account_payment_purchase/models/purchase_order.py +++ b/account_payment_purchase/models/purchase_order.py @@ -3,7 +3,7 @@ # Copyright 2017 Tecnativa - Vicent Cubells. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, fields, models +from odoo import api, fields, models class PurchaseOrder(models.Model): diff --git a/account_payment_purchase/tests/test_account_payment_purchase.py b/account_payment_purchase/tests/test_account_payment_purchase.py index 2235f3a68..c610daf56 100644 --- a/account_payment_purchase/tests/test_account_payment_purchase.py +++ b/account_payment_purchase/tests/test_account_payment_purchase.py @@ -3,8 +3,8 @@ # Copyright 2017 Tecnativa - Vicent Cubells # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from openerp import fields -from openerp.tests import common +from odoo import fields +from odoo.tests import common class TestAccountPaymentPurchase(common.SavepointCase):