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

This is during an upgrade from Odoo 14 to 16.


I have a duplicate view in Odoo for the web.frontend_layout

One marked with the External ID 'web.frontend_layout' is the correct upgraded version.

Another is unmarked with the External ID, and is a stale outdated version.

If I try and delete the stale version.  I get an error: 

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead.

Model: View (ir.ui.view)
Constraint: ir_ui_view_inherit_id_fkey


If I try and archive it, my site breaks.  How do I get rid of this duplicate view and allow the updated view to take hold?


Thank you,

Anthony Taylor


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

The view that you are trying to delete is inherited by some other views and thus you receives this error. You have to check the inherited views and map it to the other layout and then delete this duplicated one.

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 24
4144
1
ก.พ. 24
1857
2
ม.ค. 24
2038
1
พ.ย. 23
2221
1
ก.ค. 23
3566