تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
10828 أدوات العرض

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?

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال

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

أفضل إجابة

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

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

الصورة الرمزية
إهمال
أفضل إجابة

Just redefine unlink method in your object.

الصورة الرمزية
إهمال
الكاتب

Interresting. But how can I do this?

المنشورات ذات الصلة الردود أدوات العرض النشاط
5
يناير 24
17217
2
أكتوبر 15
10884
1
مارس 15
5734
1
أغسطس 24
7113
2
سبتمبر 21
4059