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

Hello,

I have a strange problem. Working on OpenERP 7.0 latest revisions. When I click for example on the red action button "Print" in Quotations it works. When I use the dropdown menu print and select "Quote" I get a client error in a popup.

Uncaught TypeError: Cannot read property 'fault_code' of undefined

I've tested it on several servers. With Python 2.6, some with Python 2.7 Tested with werkzeug 0.8.3, but also with 0.9.4

Problem is that there is not always a red action button, and some of these also not work. When I go to the company settings and click "Preview Header/Footer" I get the same error

My Javascript debugger tells me following:

Resource interpreted as Document but transferred with MIME type application/pdf: "http://10.2.3.23:8069/web/report". Uncaught TypeError: Cannot read property 'fault_code' of undefined js?db=xxxx:3162 instance.web.CrashManager.instance.web.Class.extend.rpc_error js?db=xxxx:3162 self.session.get_file.error js?db=xxxx:3242 (anonymous function) js?db=xxxx:3068 jQuery.event.dispatch js?db=xxxx:317 elemData.handle.eventHandle

Hints, directions, other links are welcome...

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

I experience the same problem if I have web_pdf_viewer module put in the addons path, even if it is not installed.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5775
0
thg 8 18
5151
1
thg 7 18
3983
1
thg 3 16
4911
0
thg 9 15
3826