Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2398 มุมมอง

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
12562
1
เม.ย. 24
3195
0
พ.ย. 23
1939
Blank White Page After log in to Odoo13 แก้ไขแล้ว
1
ก.ย. 23
2041
2
ส.ค. 23
4430