[IMP] intrastat_product: Add read accesses to intrastat lines

As Sale and Purchase users have access to invoices, we need to allow them
to read intrastat move lines as present on invoices.
This commit is contained in:
Denis Roussel
2022-04-07 19:18:16 +02:00
parent 3e54f8b0a9
commit 9f5147c7f3

View File

@@ -8,6 +8,8 @@ access_intrastat_transport_mode_full,Full access on Intrastat Transport Modes to
access_intrastat_region_read,Read access on Intrastat Regions,model_intrastat_region,,1,0,0,0
access_intrastat_region_full,Full access on Intrastat Regions,model_intrastat_region,account.group_account_manager,1,1,1,1
access_hs_code_financial_mgr_full,Full access on H.S. Code to financial mgr,product_harmonized_system.model_hs_code,account.group_account_manager,1,1,1,1
access_read_sale_move_intrastat_line,Read access to Sale User on Invoice Intrastat Lines,model_account_move_intrastat_line,sales_team.group_sale_salesman,1,0,0,0
access_read_purchase_move_intrastat_line,Read access to Purchase User on Invoice Intrastat Lines,model_account_move_intrastat_line,purchase.group_purchase_user,1,0,0,0
access_read_account_move_intrastat_line,Read access on Invoice Intrastat Lines,model_account_move_intrastat_line,account.group_account_readonly,1,0,0,0
access_account_move_intrastat_line,Full access on Invoice Intrastat Lines,model_account_move_intrastat_line,account.group_account_invoice,1,1,1,1
access_intrastat_product_declaration,Full access on Intrastat Product Declarations to Accountant,model_intrastat_product_declaration,account.group_account_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
8 access_intrastat_region_read Read access on Intrastat Regions model_intrastat_region 1 0 0 0
9 access_intrastat_region_full Full access on Intrastat Regions model_intrastat_region account.group_account_manager 1 1 1 1
10 access_hs_code_financial_mgr_full Full access on H.S. Code to financial mgr product_harmonized_system.model_hs_code account.group_account_manager 1 1 1 1
11 access_read_sale_move_intrastat_line Read access to Sale User on Invoice Intrastat Lines model_account_move_intrastat_line sales_team.group_sale_salesman 1 0 0 0
12 access_read_purchase_move_intrastat_line Read access to Purchase User on Invoice Intrastat Lines model_account_move_intrastat_line purchase.group_purchase_user 1 0 0 0
13 access_read_account_move_intrastat_line Read access on Invoice Intrastat Lines model_account_move_intrastat_line account.group_account_readonly 1 0 0 0
14 access_account_move_intrastat_line Full access on Invoice Intrastat Lines model_account_move_intrastat_line account.group_account_invoice 1 1 1 1
15 access_intrastat_product_declaration Full access on Intrastat Product Declarations to Accountant model_intrastat_product_declaration account.group_account_user 1 1 1 1