Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odpovědi
10718 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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

Nejlepší odpověď

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

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

Avatar
Zrušit
Nejlepší odpověď

Just redefine unlink method in your object.

Avatar
Zrušit
Autor

Interresting. But how can I do this?

Related Posts Odpovědi Zobrazení Aktivita
5
led 24
17104
2
říj 15
10765
1
bře 15
5611
1
srp 24
6785
2
zář 21
3955