Odoo Help

Welcome!

This community 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.

4

Uncaught SyntaxError: Unexpected token T in JSON at position 0

By
SEAN CALLAHAN
on 7/12/16, 8:46 PM 3,153 views

Using odoo9: 

1. Select multiple documents to print brings this error:


https://xxxx/web?#min=1&limit=80&view_type=list&model=account.invoice&action=238&menu_id=158:1
Traceback:
SyntaxError: Unexpected token T in JSON at position 0
    at Object.parse (native)
    at HTMLIFrameElement.<anonymous> (https://xxxx/web/static/src/js/framework/ajax.js:232:40)
    at HTMLIFrameElement.dispatch (https://xxxx/web/static/lib/jquery/jquery.js:4641:58)
    at HTMLIFrameElement.elemData.handle (https://xxxx/web/static/lib/jquery/jquery.js:4309:63)

1
Tuan
On 7/20/16, 10:33 AM

any help on this topic ? I faced the same problem with odoo v9 when I click "Save as" button on binary field

0
Andre de Kock
On 9/6/16, 7:46 AM

I had a similar problem with Pivot Views, when trying to export them to Excel. My solution was:

<pivot>
    <!-- etc. -->
</pivot>

Change to:

<pivot string="My Pivot View">
    <!-- etc. -->
</pivot>

So what you can try is to put a "string" attribute in your Tree View. Worth a shot.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/12/16, 8:46 PM
Seen: 3153 times
Last updated: 9/22/16, 5:51 AM