Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2384 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
трав. 24
12507
1
квіт. 24
3130
0
лист. 23
1915
1
вер. 23
2021
2
серп. 23
4409