Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Js and Service #118

Open
ngdangtruong opened this issue Oct 28, 2018 · 2 comments
Open

Js and Service #118

ngdangtruong opened this issue Oct 28, 2018 · 2 comments

Comments

@ngdangtruong
Copy link

ngdangtruong commented Oct 28, 2018

I dont know what happened, please help me.
Case 1: I fail in connect to DOCS service. But i still find out the value aeroo report in filed 'report_type' in model ir.actions.report. I create template so easy and no problem in printing report. But in log i saw "File "/usr/lib/python3/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8989): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff041c49d68>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-10-28 15:23:32,305 4806 ERROR tfd-plowd2 odoo.addons.report_aeroo.report_parser: AEROO setobjects======================= tfd.contract - [1]
NoneType: None"
Case 2: I start service and conect to Doc service successfully, i print report without bugs, but after , i back to main menu and click in any menu ( hr, setting, crm,...). pop up appear:
"TypeError: node is undefined

http://localhost:8069/web/content/244-451abf3/web.assets_common.js:3848
Traceback:
get_file/$target<@http://localhost:8069/web/content/244-451abf3/web.assets_common.js:3848:360
dispatch@http://localhost:8069/web/content/244-451abf3/web.assets_common.js:892:378
add/elemData.handle@http://localhost:8069/web/content/244-451abf3/web.assets_common.js:865:151".
this click ok, or f5, erverything ok, it only appear after i print 1 report.
i tested 2 cases on 3 different computer, same result.
Finally, output_format i only see the microsoft doc, how can i set up for out put in excel
sorry for my english making you uncomfortable

@ngdangtruong
Copy link
Author

update: oh i remove module web_enterprise to resolve bug JS, but i want to fix code to use web_enterprise and aeroo, plz help me

@jjscarafia
Copy link
Contributor

if you want check ingadhoc/aeroo_reports where we have play a little with the js and should be fixed. If it works for you, let us know and we can make the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants