-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] l10n_eu_product_adr: refactor security
- Loading branch information
1 parent
2a42dd3
commit 55ed548
Showing
7 changed files
with
37 additions
and
9 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
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,9 +1,9 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_adr_goods_user,access_adr_goods,model_adr_goods,stock.group_stock_user,1,0,0,0 | ||
access_adr_goods_manager,access_adr_goods,model_adr_goods,base.group_erp_manager,1,1,1,1 | ||
access_adr_class_user,access_adr_class,model_adr_class,stock.group_stock_user,1,0,0,0 | ||
access_adr_class_manager,access_adr_class,model_adr_class,base.group_erp_manager,1,1,1,1 | ||
access_adr_label_user,access_adr_label,model_adr_label,stock.group_stock_user,1,0,0,0 | ||
access_adr_label_manager,access_adr_label,model_adr_label,base.group_erp_manager,1,1,1,1 | ||
access_adr_packing_instruction_user,access_adr_packing_instruction,model_adr_packing_instruction,stock.group_stock_user,1,0,0,0 | ||
access_adr_packing_instruction_manager,access_adr_packing_instruction,model_adr_packing_instruction,base.group_erp_manager,1,1,1,1 | ||
access_adr_goods_user,access_adr_goods,model_adr_goods,group_adr_goods_user,1,0,0,0 | ||
access_adr_goods_manager,access_adr_goods,model_adr_goods,group_adr_goods_admin,1,1,1,1 | ||
access_adr_class_user,access_adr_class,model_adr_class,group_adr_goods_user,1,0,0,0 | ||
access_adr_class_manager,access_adr_class,model_adr_class,group_adr_goods_admin,1,1,1,1 | ||
access_adr_label_user,access_adr_label,model_adr_label,group_adr_goods_user,1,0,0,0 | ||
access_adr_label_manager,access_adr_label,model_adr_label,group_adr_goods_admin,1,1,1,1 | ||
access_adr_packing_instruction_user,access_adr_packing_instruction,model_adr_packing_instruction,group_adr_goods_user,1,0,0,0 | ||
access_adr_packing_instruction_manager,access_adr_packing_instruction,model_adr_packing_instruction,group_adr_goods_admin,1,1,1,1 |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="group_adr_goods_user" model="res.groups"> | ||
<field name="name">ADR Goods User</field> | ||
<field name="category_id" ref="base.module_category_hidden" /> | ||
</record> | ||
<record id="group_adr_goods_admin" model="res.groups"> | ||
<field name="name">ADR Goods Administrator</field> | ||
<field name="implied_ids" eval="[(4, ref('group_adr_goods_user'))]" /> | ||
<field name="category_id" ref="base.module_category_hidden" /> | ||
</record> | ||
<data noupdate="1"> | ||
<record id="stock.group_stock_user" model="res.groups"> | ||
<field name="implied_ids" eval="[(4, ref('group_adr_goods_user'))]" /> | ||
</record> | ||
<record id="base.group_erp_manager" model="res.groups"> | ||
<field name="implied_ids" eval="[(4, ref('group_adr_goods_admin'))]" /> | ||
</record> | ||
</data> | ||
</odoo> |
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