> 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 

Reply via email to