Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
5 Respostas
10986 Visualizações

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
Cancelar
Autor Melhor resposta

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

Avatar
Cancelar

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

Melhor resposta

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

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

Avatar
Cancelar
Melhor resposta

Just redefine unlink method in your object.

Avatar
Cancelar
Autor

Interresting. But how can I do this?

Publicações relacionadas Respostas Visualizações Atividade
5
jan. 24
17378
2
out. 15
11067
1
mar. 15
5848
1
ago. 24
7496
2
set. 21
4217