Grazie mille ad entrambi,ho risolto grazie ai vostri suggerimenti.
Ne approfitto per porvi un altro problema che sembra essere comune da quando leggo,non riesco a stampare le fatture in pdf e mi restituisce questo errore:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/odoo/addons/report/controllers/main.py", line 96, in report_download
response = self.report_routes(reportname, docids=docids, converter='pdf')
File "/usr/lib/python2.7/site-packages/odoo/http.py", line 504, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/odoo/addons/report/controllers/main.py", line 45, in report_routes
pdf = report_obj.with_context(context).get_pdf(docids, reportname, data=data)
File "/usr/lib/python2.7/site-packages/odoo/addons/report/models/report.py", line 192, in get_pdf
save_in_attachment = self._check_attachment_use(docids, report)
File "/usr/lib/python2.7/site-packages/odoo/addons/report/models/report.py", line 326, in _check_attachment_use
pdf = base64.decodestring(pdf)
File "/usr/lib64/python2.7/base64.py", line 321, in decodestring
return binascii.a2b_base64(s)
TypeError: must be string or buffer, not None
,dopo aver letto i post del forum ho fatto i seguenti passaggi:
wget
download.gna.org/wkhtmltopdf/0.12/0.12.2...ux-centos7-amd64.rpm
yum install wkhtmltox-0.12.2.1_linux-centos7-amd64.rpm
cp /usr/local/bin/wkhtmltopdf /usr/bin/
reboot
,ma non funziona.
Se do il comando "#wkhtmltopdf
www.example.com example.pdf" funziona ,quindi il programma è installato a dovere.
Proposte?