Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2220 Представления

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
12079
1
апр. 24
2809
0
нояб. 23
1704
1
сент. 23
1715
2
авг. 23
4058