Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
9026 มุมมอง

Want to remove "Odoo" from warning message. Do not want to modify the crash_manager.js directly!!! Thanks!

อวตาร
ละทิ้ง

Could you kindly draw an example where this warning message is being thrown? Thanks.

คำตอบที่ดีที่สุด

Hi,

How can I override "show_warning" method to modify the title "odoo waring " ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Did you try to extend that class and override show_warning method?

Another simple way is you override the entire web module and change crash_manager.js.

        How to override module: Just copy the module and paste on addons. Then change the name in __manifist__.py / __openerp__.py.
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 19
3923
5
ก.ย. 15
4915
2
ก.พ. 23
8053
0
ก.ย. 20
3284
2
มี.ค. 15
5869