تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2442 أدوات العرض

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
مايو 24
12645
1
أبريل 24
3276
0
نوفمبر 23
2023
1
سبتمبر 23
2111
2
أغسطس 23
4506