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

When I delete a line from one2many (in every class of the software), OpenERP delete the line without ask the confirm. There is a system (permission, extra module, Cthulu miracle) to insert a confirm alert before to delete a line to be sure?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

This bug will be resolved soon after my bug report: https://bugs.launchpad.net/openerp-web/+bug/1172360

อวตาร
ละทิ้ง

So they want it like this? Anyone know a way to override?

คำตอบที่ดีที่สุด

If you are on Odoo v10 or v11, you can use this module.

https://apps.odoo.com/apps/modules/11.0/odoo_deletedialog/

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

Just redefine unlink method in your object.

อวตาร
ละทิ้ง
ผู้เขียน

Interresting. But how can I do this?

Related Posts ตอบกลับ มุมมอง กิจกรรม
How to delete Confirmed Salary Slip? แก้ไขแล้ว
5
ม.ค. 24
17370
2
ต.ค. 15
11046
1
มี.ค. 15
5840
1
ส.ค. 24
7476
2
ก.ย. 21
4208