跳至内容
菜单
此问题已终结
1 回复
2272 查看

Impacted versions: V14 Community, Ubuntu 20.04 server


Steps to reproduce: Install Fleet, select Reports and click on costs


Current behavior:   SyntaxError: Unexpected token T in JSON at position 0


Expected behavior:


Video/Screenshot link (optional):


![image](https://user-images.githubusercontent.com/75961027/104557996-bec0d380-5607-11eb-94a4-340a2fdc0117.png)


I installed Community v14 and the app Fleet. When clicking on reports/costs I get his error


Error:



Traceback:

SyntaxError: Unexpected token T in JSON at position 0

    at JSON.parse (<anonymous>)

    at Class.init (https://donau.com.mx/web/content/9039-1316d81/web.assets_backend.js:2400:235)

    at Class.prototype.<computed> [as init] (https://donau.com.mx/web/content/7977-e9c59c3/web.assets_common.js:4614:488)

    at new Class (https://donau.com.mx/web/content/7977-e9c59c3/web.assets_common.js:4615:65)

    at Class._createViewController (https://donau.com.mx/web/content/9039-1316d81/web.assets_backend.js:448:658)

    at https://donau.com.mx/web/content/9039-1316d81/web.assets_backend.js:453:169


I installed python, checking all dependencies and so on , but I cannot do it work. This happens to me in 2 differente servers


Anybody that could please help me? Thank you

形象
丢弃
最佳答案

Hi,

Seems the issue is not reproducible in the odoo runbot, if you have installed any custom modules, can you remove those and try. Seems you have got a theme module installed from the screenshot, create a fresh database, install fleet module and see whether you have error or not.

Also try to reproduce the error in the Odoo Runbot, if you can reproduce it there, report it in odoo github repo:  https://github.com/odoo/odoo/issues

Below image from runbot:



Thanks

形象
丢弃
相关帖文 回复 查看 活动
2
12月 24
5467
1
2月 22
2321
1
11月 21
211
1
11月 23
4184
0
7月 22
1437