[FIX] product: allow basic users to print product labels

Steps to reproduce the bug:
- Login as Marc Demo
- Go to any product and try to print labels

Problem:
An access error is triggered, the basic user needs to have the access rights "Administration / Settings" to be able to print product labels

Solution:
Administrators and basic users should be able to print product labels

opw-2746963

closes odoo/odoo#84285

X-original-commit: 03442d92d6f95cbb4d6e0b69dde36272f6b6dbcd
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Djamel Touati (otd) <otd@odoo.com>
This commit is contained in:
Touati Djamel (otd)
2022-02-10 08:33:57 +00:00
parent 59299ca869
commit 50f4af252c
+1 -1
View File
@@ -27,5 +27,5 @@ access_product_attribute_custom_value_manager,product.attribute.custom value man
access_product_product_attribute_manager,product.template.attribute value manager,model_product_template_attribute_value,base.group_system,1,1,1,1
access_product_template_attribute_exclusion_manager,product.template.attribute exclusion manager,model_product_template_attribute_exclusion,base.group_system,1,1,1,1
access_product_template_attribute_line_manager,product.template.attribute line manager,model_product_template_attribute_line,base.group_system,1,1,1,1
access_product_label_layout_user,product.label.layout.user,model_product_label_layout,base.group_system,1,1,1,1
access_product_label_layout_user,product.label.layout.user,model_product_label_layout,base.group_user,1,1,1,1
access_product_tag_manager,product.tag.manager,model_product_tag,base.group_system,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
27 access_product_product_attribute_manager product.template.attribute value manager model_product_template_attribute_value base.group_system 1 1 1 1
28 access_product_template_attribute_exclusion_manager product.template.attribute exclusion manager model_product_template_attribute_exclusion base.group_system 1 1 1 1
29 access_product_template_attribute_line_manager product.template.attribute line manager model_product_template_attribute_line base.group_system 1 1 1 1
30 access_product_label_layout_user product.label.layout.user model_product_label_layout base.group_system base.group_user 1 1 1 1
31 access_product_tag_manager product.tag.manager model_product_tag base.group_system 1 1 1 1