Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9036 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

Hi,

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 19
3950
5
thg 9 15
4934
2
thg 2 23
8079
0
thg 9 20
3314
2
thg 3 15
5879