Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] g2p_programs: access error on approve #674

Open
wants to merge 8 commits into
base: 17.0
Choose a base branch
from
1 change: 1 addition & 0 deletions spp_programs/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"product",
"stock",
"spp_user_roles",
"account",
],
"data": [
"data/user_roles.xml",
Expand Down
5 changes: 5 additions & 0 deletions spp_programs/security/ir.model.access.csv
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ spp_programs_stock_location_program_validator,SPP Entitlement Stock Location Pro
spp_programs_stock_route_program_validator,SPP Entitlement Stock Location Route Program Validator Access,stock.model_stock_route,g2p_programs.g2p_program_validator,1,0,0,0
spp_programs_stock_move_program_validator,SPP Entitlement Stock Move Program Validator Access,stock.model_stock_move,g2p_programs.g2p_program_validator,1,1,1,0
spp_programs_stock_rule_program_validator,SPP Entitlement Stock Rule Program Validator Access,stock.model_stock_rule,g2p_programs.g2p_program_validator,1,0,0,0
g2p_account_journal_g2p_program_cycle_approver,Account Journal Program Cycle Manager Access,account.model_account_journal,g2p_programs.g2p_program_cycle_approver,1,1,1,0
g2p_account_move_g2p_program_cycle_approver,Account Move Program Cycle Manager Access,account.model_account_move,g2p_programs.g2p_program_cycle_approver,1,1,1,0
g2p_account_move_line_g2p_program_cycle_approver,Account Move Line Program cycle Manager Access,account.model_account_move_line,g2p_programs.g2p_program_cycle_approver,1,1,1,0
g2p_entitlement_g2p_program_cycle_approver,Entitlement Program Cycle Manager Access,g2p_programs.model_g2p_entitlement,g2p_programs.g2p_program_cycle_approver,1,0,0,0
g2p_account_payment_g2p_program_cycle_approver,Account Payment Program Cycle Manager Access,account.model_account_payment,g2p_programs.g2p_program_cycle_approver,1,1,1,0