Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
10822 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Just redefine unlink method in your object.

Ảnh đại diện
Huỷ bỏ
Tác giả

Interresting. But how can I do this?

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 1 24
17215
2
thg 10 15
10880
1
thg 3 15
5733
1
thg 8 24
7108
2
thg 9 21
4056