diff --git a/compute_purchase_order/__openerp__.py b/compute_purchase_order/__manifest__.py similarity index 94% rename from compute_purchase_order/__openerp__.py rename to compute_purchase_order/__manifest__.py index 1018692..5b0d038 100644 --- a/compute_purchase_order/__openerp__.py +++ b/compute_purchase_order/__manifest__.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- { 'name': 'Computed Purchase Order', - 'version': '9.0.1', + 'version': '10.0.1.0.0', 'category': 'Purchase Order', 'description': """ todo """, 'author': 'Coop IT Easy', diff --git a/compute_purchase_order/models/computed_purchase_order.py b/compute_purchase_order/models/computed_purchase_order.py index 6ce507d..5cf0769 100644 --- a/compute_purchase_order/models/computed_purchase_order.py +++ b/compute_purchase_order/models/computed_purchase_order.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from openerp import models, fields, api, SUPERUSER_ID -from openerp.exceptions import ValidationError +from odoo import models, fields, api, SUPERUSER_ID +from odoo.exceptions import ValidationError class ComputedPurchaseOrder(models.Model): diff --git a/compute_purchase_order/models/computed_purchase_order_line.py b/compute_purchase_order/models/computed_purchase_order_line.py index 1b9a4f8..161d48e 100644 --- a/compute_purchase_order/models/computed_purchase_order_line.py +++ b/compute_purchase_order/models/computed_purchase_order_line.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- import logging -from openerp import models, fields, api -from openerp.exceptions import ValidationError +from odoo import models, fields, api +from odoo.exceptions import ValidationError _logger = logging.getLogger(__name__) diff --git a/compute_purchase_order/models/product_template.py b/compute_purchase_order/models/product_template.py index 030719b..83947be 100644 --- a/compute_purchase_order/models/product_template.py +++ b/compute_purchase_order/models/product_template.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from openerp import models, fields, api +from odoo import models, fields, api class ProductTemplate(models.Model): diff --git a/compute_purchase_order/models/purchase_order.py b/compute_purchase_order/models/purchase_order.py index 24da3c6..e82032d 100644 --- a/compute_purchase_order/models/purchase_order.py +++ b/compute_purchase_order/models/purchase_order.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from openerp import models, fields +from odoo import models, fields class PurchaseOrder(models.Model): diff --git a/compute_purchase_order/views/computed_purchase_order.xml b/compute_purchase_order/views/computed_purchase_order.xml index c84432b..fe9efdd 100644 --- a/compute_purchase_order/views/computed_purchase_order.xml +++ b/compute_purchase_order/views/computed_purchase_order.xml @@ -55,7 +55,7 @@ - +