[FIX] account_advanced_protection_features: restore bank statement(s) unlink right lost #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "account_advanced_protection_features_fix_unlink_rights"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 tothis module (in the commit
ebb39f5), without re-adding them, leaving perm_unlink stuck at 0 forgroup_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.
ebb39f5On a décidé que ce n'est pas une bonne approche.
Une meilleure approche est de déterminer toutes les instances qui ont "account_usability_misc" installé puis de faire la maj vers "account_advanced_protection_features" (et donc maj manuellement le module "account").
Pull request closed