From 6405be3fcfd8decbea7ab74a4646c70f774363b6 Mon Sep 17 00:00:00 2001 From: Pierrick brun Date: Fri, 4 Jan 2019 11:11:39 +0100 Subject: [PATCH] [MIG] 10.0 --- .../{__openerp__.py => __manifest__.py} | 2 +- sale_partner_shipping_filter_with_customer/models/sale.py | 2 +- .../views/sale_view.xml | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) rename sale_partner_shipping_filter_with_customer/{__openerp__.py => __manifest__.py} (94%) diff --git a/sale_partner_shipping_filter_with_customer/__openerp__.py b/sale_partner_shipping_filter_with_customer/__manifest__.py similarity index 94% rename from sale_partner_shipping_filter_with_customer/__openerp__.py rename to sale_partner_shipping_filter_with_customer/__manifest__.py index b1850b7..57bf13f 100644 --- a/sale_partner_shipping_filter_with_customer/__openerp__.py +++ b/sale_partner_shipping_filter_with_customer/__manifest__.py @@ -6,7 +6,7 @@ 'name': 'Partner Shipping Filter with Customer', 'summary': "Shows only delivery addresses that are linked " "with the customer", - 'version': '8.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Sale Management', 'website': 'http://akretion.com', 'author': 'Akretion, Odoo Community Association (OCA)', diff --git a/sale_partner_shipping_filter_with_customer/models/sale.py b/sale_partner_shipping_filter_with_customer/models/sale.py index 796a009..66069f0 100644 --- a/sale_partner_shipping_filter_with_customer/models/sale.py +++ b/sale_partner_shipping_filter_with_customer/models/sale.py @@ -2,7 +2,7 @@ # © 2017 Chafique DELLI @ Akretion # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields +from odoo import models, fields class SaleOrder(models.Model): diff --git a/sale_partner_shipping_filter_with_customer/views/sale_view.xml b/sale_partner_shipping_filter_with_customer/views/sale_view.xml index b48d00d..ef8ba6e 100644 --- a/sale_partner_shipping_filter_with_customer/views/sale_view.xml +++ b/sale_partner_shipping_filter_with_customer/views/sale_view.xml @@ -1,7 +1,6 @@ - - + sale.order @@ -19,5 +18,4 @@ - - +