From 1a9186aa2ab187dea86ef546e1cf6fa583bae5f5 Mon Sep 17 00:00:00 2001 From: Invitu Date: Sat, 4 Nov 2017 07:47:26 -1000 Subject: [PATCH] [MIG] pos_price_to_weight: Migration to 10.0 --- pos_price_to_weight/{__openerp__.py => __manifest__.py} | 2 +- pos_price_to_weight/data/barcode_rule.xml | 4 ++-- pos_price_to_weight/models/barcode_rule.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename pos_price_to_weight/{__openerp__.py => __manifest__.py} (96%) diff --git a/pos_price_to_weight/__openerp__.py b/pos_price_to_weight/__manifest__.py similarity index 96% rename from pos_price_to_weight/__openerp__.py rename to pos_price_to_weight/__manifest__.py index 1ae0f7b5..9a20874e 100644 --- a/pos_price_to_weight/__openerp__.py +++ b/pos_price_to_weight/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Point of Sale - Price to Weight', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Point Of Sale', 'summary': 'Compute weight based on barcodes with prices', 'author': 'La Louve, GRAP, Odoo Community Association (OCA)', diff --git a/pos_price_to_weight/data/barcode_rule.xml b/pos_price_to_weight/data/barcode_rule.xml index 29db2ac9..21fbc514 100644 --- a/pos_price_to_weight/data/barcode_rule.xml +++ b/pos_price_to_weight/data/barcode_rule.xml @@ -5,7 +5,7 @@ Copyright (C) 2017 - Today: GRAP (http://www.grap.coop) License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> - + Price Barcodes (Computed Weight) 2 Decimals @@ -16,4 +16,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). ean13 - + diff --git a/pos_price_to_weight/models/barcode_rule.py b/pos_price_to_weight/models/barcode_rule.py index 52f6e360..d268390b 100644 --- a/pos_price_to_weight/models/barcode_rule.py +++ b/pos_price_to_weight/models/barcode_rule.py @@ -3,7 +3,7 @@ # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import _, api, models +from odoo import _, api, models class BarcodeRule(models.Model):