Browse Source

beesdoo_product module : migration to version 10.0

pull/103/head
Manuel Claeys Bouuaert 5 years ago
parent
commit
664731180b
  1. 0
      beesdoo_product/__manifest__.py
  2. 6
      beesdoo_product/models/beesdoo_product.py
  3. 4
      beesdoo_product/security/ir.model.access.csv
  4. 2
      beesdoo_product/wizard/label_printing_utils.py

0
beesdoo_product/__openerp__.py → beesdoo_product/__manifest__.py

6
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

4
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

2
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):

Loading…
Cancel
Save