> Hi,
> 
> I try your code to generate a barcode on a report.
> I had to install "Pillow" (pip install Pillow) to avoid an NoneType error.
> How display this new field 'barcode' inside LibreOffice writer ? I try to add 
> a frame but don't know how to link my binary field and relatorio 
> documentation seems outdated...

Found the solution :-)
I add a frame and in the Options tab and in the name field, i set:

image: (your_record.barcode, "image/png")

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/993c5786-3fec-4b38-87e9-c77511ff3322%40googlegroups.com.

Reply via email to