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

When I try to print from the Customer invoice view I get an Odoo Client Error:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

http://aaa.bbbb.local:8069/web/js/web.assets_backend/90c25bb:2965

Printing from the Customer invoice form does work correctly.

It is a bare metal Odoo 8 installation installed on a Univention UCS server. I have installed wkhtmltox and it appear to work correctly.

Where do I go wrong?


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

The Print invoice in the Customer Invoice view was pointing to the deprecated RML invoice report. Changed the Action Binding names and also the Report names to reflect the different reporting models so that both turned up in the views and form.

The RML Invoice report was the culprit!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 22
1813
4
thg 4 22
4729
1
thg 12 21
5832
2
thg 9 21
3688
11
thg 8 16
5585