From 94fce4b3d97e661fced057de4d9703ca4d7a35ec Mon Sep 17 00:00:00 2001 From: Manuel Claeys Bouuaert Date: Fri, 4 Oct 2019 13:32:14 +0200 Subject: [PATCH] [FIX] Fix version number, data tags and import ordering --- beesdoo_pos/__manifest__.py | 2 +- beesdoo_product/models/beesdoo_product.py | 3 ++- pos_price_to_weight/data/barcode_rule.xml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/beesdoo_pos/__manifest__.py b/beesdoo_pos/__manifest__.py index b9d7bdf..4fcea35 100644 --- a/beesdoo_pos/__manifest__.py +++ b/beesdoo_pos/__manifest__.py @@ -16,7 +16,7 @@ # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # for the full list 'category': 'Point Of Sale', - 'version': '9.0.1.1.0', + 'version': '12.0.1.0.0', # any module necessary for this one to work correctly 'depends': ['beesdoo_base', 'beesdoo_product'], diff --git a/beesdoo_product/models/beesdoo_product.py b/beesdoo_product/models/beesdoo_product.py index c097ae1..ff5b0af 100644 --- a/beesdoo_product/models/beesdoo_product.py +++ b/beesdoo_product/models/beesdoo_product.py @@ -1,7 +1,8 @@ +import uuid + from odoo import models, fields, api from odoo.tools.translate import _ from odoo.exceptions import UserError, ValidationError -import uuid class BeesdooProduct(models.Model): diff --git a/pos_price_to_weight/data/barcode_rule.xml b/pos_price_to_weight/data/barcode_rule.xml index 46c642e..21fbc51 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 - +