Skip to Content
Menu
This question has been flagged
2152 Views

Hi,

Have Odoo 8 installed on Synology, no reports modified.

Footer doesnt show on any reports (invoices, orders...) and when i go in settings-company-report configuration-preview header/footer, got an error:

Chrome: Uncaught SyntaxError: Unexpected end of JSON input

http://xxx.ddns.net:8069/web#id=1&view_type=form&model=res.company&menu_id=63&action=52:2

Firefox: SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data

http://xxx.ddns.net:8069/web/js/web.assets_backend/19d92aa:2890

Tried use different fonts from the 4 installed, no joy.

Here is the log:

2016-10-12 17:54:33,165 18803 INFO test11102016 werkzeug: 51.37.xxx.xxx - - [12/Oct/2016 17:54:33] "POST /web/action/load HTTP/1.1" 200 -

2016-10-12 17:54:33,652 18803 ERROR test11102016 openerp.addons.web.controllers.main: An exception occured during an http request

Traceback (most recent call last):

File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 69, in wrap return f(*args, **kwargs)

File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 1570, in index request.session.db, request.session.uid, request.session.password, report_id)

File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 806, in proxy_method result = dispatch_rpc(self.service_name, method, args)

File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 99, in dispatch_rpc result = dispatch(method, params)

File "/usr/local/lib/python2.7/site-packages/openerp/service/report.py", line 34, in dispatch res = fn(db, uid, *params)

File "/usr/local/lib/python2.7/site-packages/openerp/service/report.py", line 141, in exp_report_get return _check_report(report_id)

File "/usr/local/lib/python2.7/site-packages/openerp/service/report.py", line 119, in _check_report raise openerp.osv.orm.except_orm(exc.message, exc.traceback)except_orm: ('RML is not available at specified location or not enough data to print!', (None, None, None))

2016-10-12 17:54:33,656 18803 WARNING test11102016 openerp.http: <function openerp.addons.web.controllers.main.index> returns an invalid response type for an http request

2016-10-12 17:54:33,658 18803 INFO test11102016 werkzeug: 51.37.xxx.xxx - - [12/Oct/2016 17:54:33] "POST /web/report HTTP/1.1" 500 -

If i change the report (invoice) type from pdf to html, will show fine (with footer).

Any ideas?

Thanks

Avatar
Discard