I am also working on the invoice report. Everything works fine until I
want to ad our logo to header_A4.odt.

Printing an invoice ends with:

Traceback (most recent call last):
  File "/trytond/protocols/netrpc.py", line 48, in run
    res = dispatch(host, port, 'NetRPC', *msg)
  File "/trytond/protocols/dispatcher.py", line 136, in dispatch
    res = getattr(obj, method)(*args, **kargs)
  File "/trytond/modules/account_invoice/invoice.py", line 2002, in
execute
    res = super(InvoiceReport, self).execute(ids, datas)
  File "/trytond/report/report.py", line 118, in execute
    type, data = self.parse(action_report, objects, datas, {})
  File "/trytond/modules/account_invoice/invoice.py", line 2030, in
parse
    localcontext)
  File "/trytond/report/report.py", line 242, in parse
    data = self.convert_pdf(data)
  File "/trytond/report/report.py", line 277, in convert_pdf
    doc = desktop.openFile(odt_name, hidden=False)
  File "/openoffice/interact.py", line 150, in openFile
    return self.openURL(url, **kw)
  File "/openoffice/interact.py", line 144, in openURL
    return self._desktop.loadComponentFromURL(url, target, 0,
properties)
com.sun.star.lang.IllegalArgumentException: URL seems to be an
unsupported one.

Can tryton handle gif-files?

Thanks for your help in advance.

Bram van der Sar

-- 
[email protected] mailing list

Reply via email to