From 664731180bfe499e49baee4f71a788cd37367e42 Mon Sep 17 00:00:00 2001 From: Manuel Claeys Bouuaert Date: Mon, 30 Sep 2019 12:31:01 +0200 Subject: [PATCH] beesdoo_product module : migration to version 10.0 --- beesdoo_product/{__openerp__.py => __manifest__.py} | 0 beesdoo_product/models/beesdoo_product.py | 6 +++--- beesdoo_product/security/ir.model.access.csv | 4 ++-- beesdoo_product/wizard/label_printing_utils.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename beesdoo_product/{__openerp__.py => __manifest__.py} (100%) diff --git a/beesdoo_product/__openerp__.py b/beesdoo_product/__manifest__.py similarity index 100% rename from beesdoo_product/__openerp__.py rename to beesdoo_product/__manifest__.py diff --git a/beesdoo_product/models/beesdoo_product.py b/beesdoo_product/models/beesdoo_product.py index d474740..6fef74f 100644 --- a/beesdoo_product/models/beesdoo_product.py +++ b/beesdoo_product/models/beesdoo_product.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -from openerp import models, fields, api -from openerp.tools.translate import _ -from openerp.exceptions import UserError, ValidationError +from odoo import models, fields, api +from odoo.tools.translate import _ +from odoo.exceptions import UserError, ValidationError import uuid diff --git a/beesdoo_product/security/ir.model.access.csv b/beesdoo_product/security/ir.model.access.csv index 1b5fb80..765d2d3 100644 --- a/beesdoo_product/security/ir.model.access.csv +++ b/beesdoo_product/security/ir.model.access.csv @@ -1,5 +1,5 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink beesdoo_product_label_read_all,beesdoo.product.label Read All,model_beesdoo_product_label,,1,0,0,0 -beesdoo_product_label_all_access_sale_manager,beesdoo.product.label All Access Sale Manager,model_beesdoo_product_label,base.group_sale_manager,1,1,1,1 +beesdoo_product_label_all_access_sale_manager,beesdoo.product.label All Access Sale Manager,model_beesdoo_product_label,sales_team.group_sale_manager,1,1,1,1 beesdoo_scale_category_read_all,beesdoo.scale.category Read All,model_beesdoo_scale_category,,1,0,0,0 -beesdoo_scale_categoryl_all_access_sale_manager,beesdoo.scale.category All Access Sale Manager,model_beesdoo_scale_category,base.group_sale_manager,1,1,1,0 +beesdoo_scale_categoryl_all_access_sale_manager,beesdoo.scale.category All Access Sale Manager,model_beesdoo_scale_category,sales_team.group_sale_manager,1,1,1,0 diff --git a/beesdoo_product/wizard/label_printing_utils.py b/beesdoo_product/wizard/label_printing_utils.py index c6f6c28..a3e0c17 100644 --- a/beesdoo_product/wizard/label_printing_utils.py +++ b/beesdoo_product/wizard/label_printing_utils.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from openerp import models, fields, api +from odoo import models, fields, api class RequestLabelPrintingWizard(models.TransientModel):