Odoo Help

6

Uncaught SyntaxError: Unexpected token T in JSON at position 0

By
SEAN CALLAHAN
on 7/12/16, 8:46 PM 6,026 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)

0
SEAN CALLAHAN
On 5/4/17, 8:48 PM

My issue was a timeout from Nginx.  You might try adjusting the cpu time values in the odoo config file or adjusting 

proxy_connect_timeout

 proxy_send_timeout

 proxy_read_timeout

from nginx which fixed my issue.

2
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

Shameem iWesabe

--Shameem iWesabe--
890
| 5 3 5
الخبر, Saudi Arabia
--Shameem iWesabe--

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                  ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem iWesabe
On 5/4/17, 10:01 AM

I face the same issue when I download xls of pivot view

I solved by installing xlwt.

# sudo pip install xlwt==1.1.2


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.

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.

Register

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

1 follower(s)

Stats

Asked: 7/12/16, 8:46 PM
Seen: 6026 times
Last updated: 5/4/17, 8:48 PM