跳至內容
選單
此問題已被標幟
1 回覆
2404 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
5月 24
12583
1
4月 24
3226
0
11月 23
1957
1
9月 23
2062
2
8月 23
4442