Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2389 Zobrazení

I need to prevent ACL re-creation (that were previously deleted) after module upgrade.

Someone can give me some directions here?

We have this help text in ir.model.access model:

if you delete a native ACL, it will be re-created when you reload the module

This is what I need to prevent.

Regards

Avatar
Zrušit
Nejlepší odpověď

As help describe don't delete ACL just Archive it (set Active = False) so it will not re-created on module update.

I think ACL (/Technical/Security/Access Rights) is editable list view without the active field column so Edit the list view and add the active field and untick the active checkbox for the record you want to archive.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
kvě 24
12537
1
dub 24
3158
0
lis 23
1928
1
zář 23
2034
2
srp 23
4414