Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Uncaught SyntaxError: Unexpected token T in JSON at position 0

Odoberať

Get notified when there's activity on this post

This question has been flagged
javascriptodoo9
6 Replies
66912 Zobrazenia
Avatar
SEAN CALLAHAN

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)

6
Avatar
Zrušiť
Avatar
SEAN CALLAHAN
Autor Best Answer

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.

1
Avatar
Zrušiť
Avatar
Tuan
Best Answer

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

2
Avatar
Zrušiť
Avatar
Abdessalam Mouttaki
Best Answer

I faced the same error for Odoo 11 on Ubuntu 16.

I fixed the issue by adding some Odoo 11 dependencies as follow (thanks to Yenthe666 >> https://github.com/Yenthe666) :

# Installing Python 3 + pip3
sudo apt-get install python3 python3-pip

# Install tool packages
sudo apt-get install wget git bzr python-pip gdebi-core -y

# Install python packages
sudo apt-get install python-pypdf2 python-dateutil python-feedparser python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests python-passlib python-pil -y
sudo pip3 install pypdf2 Babel passlib Werkzeug decorator python-dateutil pyyaml psycopg2 psutil html2text docutils lxml pillow reportlab ninja2 requests gdata XlsxWriter vobject python-openid pyparsing pydot mock mako Jinja2 ebaysdk feedparser xlwt psycogreen suds-jurko pytz pyusb greenlet xlrd

# This is for compatibility with Ubuntu 16.04. Will work on 14.04, 15.04 and 16.04
sudo apt-get install python3-suds

# Install other required packages
sudo apt-get install node-clean-css -y
sudo apt-get install node-less -y
sudo apt-get install python-gevent -y


Don't forget to reboot your system.

I hope this will help.


0
Avatar
Zrušiť
Avatar
Gagea Alexandru
Best Answer

I have the same error, however none of the above solutions are working..

0
Avatar
Zrušiť
Avatar
Andre de Kock
Best Answer

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.

0
Avatar
Zrušiť
Walid Redwan

Thanks Dear

Avatar
Shameem Babu
Best Answer

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
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
How to change build-in button'text in odoo 9
javascript button odoo9
Avatar
1
júl 22
4219
Odoo9: PROBLEM WITH THE API
javascript api odoo9
Avatar
0
jan 19
4839
Call javascript function on button click
javascript odoo odoo9
Avatar
Avatar
1
aug 17
8810
Open a wizard when clicking on "save" in a form in edit mode [Odoo 9]
javascript wizard odoo9
Avatar
0
aug 16
576
Widget Javascript not displayed in Odoo
javascript api odoo9
Avatar
Avatar
1
jan 16
5399
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now