> StringIO is not in the context of the Report. But as I said previously, > normally you should not need to use StringIO. > > PS: Please don't post images on this mailing list, error message are > copy/pastable and it allows other to search on it. > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ > I checked the module copmany_logo. The image is set as an binary field -> logo = fields.Binary('Logo') so should i use BytesIO for import the Image in the report instead of StringIO. I don't know the right syntax of the command. would image: (BytesIO(company.logo), 'image/png') solve my problem?
- Re: [tryton] how to add a company logo to reports w... Albert Cervera i Areny
- Re: [tryton] how to add a company logo to repo... Cédric Krier
- Re: [tryton] how to add a company logo to ... Antonio Roncero
- Re: [tryton] how to add a company logo to ... Antonio Roncero
- Re: [tryton] how to add a company logo... Cédric Krier
- Re: [tryton] how to add a company ... Antonio Roncero
- Re: [tryton] how to add a com... kaheinzelmann0
- Re: [tryton] how to add a... Antonio Roncero
- Re: [tryton] how to add a... kaheinzelmann0
- Re: [tryton] how to add a... Cédric Krier
- Re: [tryton] how to add a... kaheinzelmann0
- Re: [tryton] how to add a... Cédric Krier
- Re: [tryton] how to add a... kaheinzelmann0
- Re: [tryton] how to add a... Cédric Krier
- Re: [tryton] how to add a... kaheinzelmann0
