[FIX] account_advanced_protection_features: restore bank statement(s) unlink right lost in ebb39f5
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
The delete right on account.bank.statement and account.bank.statement.line was granted to a super user group via ir.model.access rows added in account_usability_misc (ec22b72). We dropped the super user group when moving the protection feature to this module (in the commitebb39f5), without re-adding them, leaving perm_unlink stuck at 0 for group_account_user until a full account module update. Reset the unlink right for group_account_user in this commit, so the right is restored automatically on install/upgrade of this module.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_account_bank_statement_reset,account.bank.statement unlink reset,account.model_account_bank_statement,account.group_account_user,1,1,1,1
|
||||
access_account_bank_statement_line_reset,account.bank.statement.line unlink reset,account.model_account_bank_statement_line,account.group_account_user,1,1,1,1
|
||||
|
Reference in New Issue
Block a user