forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] product_print_category : do not creeate 'user' print Category G…
…roup, because it make the default computation failing on the product.product form view if user is not member of the group. Also to align with the rest of odoo : print_category_id is a regular field that can be user by any user that is member of base.group_user as all the other field [FIX] use _for_xml_id to avoid error if user is not admin, when using the print wizard [REF] use expression.AND to simplify code
- Loading branch information
1 parent
fb9fe5e
commit a7df4f6
Showing
9 changed files
with
14 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
ir_model_access_product_print_category_user,Print Category User,product_print_category.model_product_print_category,product_print_category.user,1,0,0,0 | ||
ir_model_access_product_print_category_user,Print Category User,product_print_category.model_product_print_category,base.group_user,1,0,0,0 | ||
ir_model_access_product_print_category_manager,Print Category Manager,product_print_category.model_product_print_category,product_print_category.manager,1,1,1,1 | ||
product_print_category.access_product_print_wizard,access_product_print_wizard,product_print_category.model_product_print_wizard,product_print_category.user,1,1,1,1 | ||
product_print_category.access_product_print_wizard_line,access_product_print_wizard_line,product_print_category.model_product_print_wizard_line,product_print_category.user,1,1,1,1 | ||
product_print_category.access_product_print_wizard,access_product_print_wizard,product_print_category.model_product_print_wizard,base.group_user,1,1,1,1 | ||
product_print_category.access_product_print_wizard_line,access_product_print_wizard_line,product_print_category.model_product_print_wizard_line,base.group_user,1,1,1,1 | ||
ir_model_access_product_print_category_rule_user,Print Category Rule User,product_print_category.model_product_print_category_rule,,1,0,0,0 | ||
ir_model_access_product_print_category_rule_manager,Print Category Rule Manager,product_print_category.model_product_print_category_rule,product_print_category.manager,1,1,1,1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters