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

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!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 22
1899
Print Multiple Invoices Fails Odoo CE 11 แก้ไขแล้ว
4
เม.ย. 22
4830
1
ธ.ค. 21
5967
invoice print missing customer partner แก้ไขแล้ว
2
ก.ย. 21
3765
Unable to print invoice report - odoo 9 แก้ไขแล้ว
11
ส.ค. 16
5680