Odoo Help


Unable to print invoice : Error "Uncaught SyntaxError: Unexpected token G"

Vaishnavi Ananth
on 7/24/13, 5:59 AM 5,685 views

Hi all, I'm a novice at OpenERP, but I managed to use the openOffice reports designer plugin to modify the Sales Order/Quotation report successfully. Unfortunately, I'm unable to do this with Invoices.

There was first the issue of not being able to see the changes made to the report when printing. I found the solution to this (Uncheck the "Reload from attachment" option in Settings->Action->Reports->Invoice). But once I did this and tried to print an invoice, I got the following error:

"Uncaught SyntaxError: Unexpected token G"

So I thought the problem was in the unchecking of the "reload from attachment" option and undid the unchecking. But I still can't print invoices and I get the same error over and over again. Any help will be really appreciated.


juan delgado
On 9/11/14, 5:09 PM

hi i same problem, you fixed, please help 

On 3/23/16, 4:21 AM

It means that the server-side error messages are not outputted properly and the js client can't parse them.

Check your browser developer tools to get the proper message.

Sylvain Van Hoof
On 12/3/14, 5:03 AM


I've the same error. Do you have any idea to fix this problem ?

Abdul Qavi
On 11/30/14, 1:05 AM

I've the same problem. Kindly let me know if anyone has solved it @juan and @Vaishnavi

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 7/24/13, 5:59 AM
Seen: 5685 times
Last updated: 3/23/16, 4:22 AM