This question has been flagged
5 Replies
8993 Views

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?

Avatar
Discard
Author Best Answer

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

Avatar
Discard

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

Best Answer

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

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

Avatar
Discard
Best Answer

Just redefine unlink method in your object.

Avatar
Discard
Author

Interresting. But how can I do this?