Odoo8 请问,为何打印报表时都无法正常显示条码?
-
改用http格式后,条码的图片显示不出来
[attachimg=1]
并且服务器上的日志文件找到ERROR日志:
[quote]File "/usr/lib/python2.7/dist-packages/reportlab/graphics/renderPM.py", line 227, in _setFont
raise RenderPMError("Can't setFont(%s) missing the T1 files?\nOriginally %s: %s" % (fontName,s1,s2))
RenderPMError: Can't setFont(Times-Roman) missing the T1 files?
Originally <type 'exceptions.TypeError'>: makeT1Font() argument 2 must be string, not None[/quote] -
还有一个这样的错误
[quote]2015-03-17 06:48:31,983 3203 ERROR test openerp.sql_db: bad query: UPDATE "im_chat_presence" SET "status"='away',"last_poll"='2015-03-17 06:48:31',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (1)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
TransactionRollbackError: could not serialize access due to concurrent update[/quote]