跳至內容
選單
此問題已被標幟
1 回覆
15908 瀏覽次數

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?


頭像
捨棄
作者 最佳答案

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!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 22
1892
4
4月 22
4820
1
12月 21
5942
2
9月 21
3760
11
8月 16
5663