Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5 Vastaukset
10972 Näkymät

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
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää

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

Paras vastaus

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

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

Avatar
Hylkää
Paras vastaus

Just redefine unlink method in your object.

Avatar
Hylkää
Tekijä

Interresting. But how can I do this?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
5
tammik. 24
17367
2
lokak. 15
11040
1
maalisk. 15
5836
1
elok. 24
7462
2
syysk. 21
4204