Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
10743 Widoki

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?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

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

Awatar
Odrzuć
Najlepsza odpowiedź

Just redefine unlink method in your object.

Awatar
Odrzuć
Autor

Interresting. But how can I do this?

Powiązane posty Odpowiedzi Widoki Czynność
5
sty 24
17131
2
paź 15
10787
1
mar 15
5646
1
sie 24
6854
2
wrz 21
3978