El viernes, 5 de junio de 2015, 12:20:05 (UTC+1), Cédric Krier escribió:
>
> On 04 Jun 13:20, Antonio Roncero wrote: 
> > 
> > 
> > El jueves, 4 de junio de 2015, 18:25:03 (UTC+2), Cédric Krier escribió: 
> > > 
> > > On 04 Jun 17:38, Albert Cervera i Areny wrote: 
> > > > 2015-06-04 16:11 GMT+02:00  <[email protected] <javascript:>>: 
> > > > > Hi, 
> > > > > 
> > > > > i am trying to add a company logo to the Reports for example in 
> > > invoices. 
> > > > > I am using the spanish Module company_logo and add the image to 
> the 
> > > company 
> > > > > settings in register 'Report' where you can also set the header 
> and 
> > > footer. 
> > > > > but on the reports the picture will not be displayed. 
> > > > > Does anybody use this Module or is there a other way to add logos 
> in 
> > > > > reports? 
> > > > 
> > > > We use this module but we use it together with the jasper_reports 
> [1] 
> > > > engine. With it, it is relatively easy to use such image in headers. 
> > > > Can't tell how to do that with relatorio. 
> > > 
> > > Create a frame; 
> > > Set as title: image: bytestream, mimetype 
> > > 
> > 
> > image: (StringIO(str(company.logo)), 'image/png') 
>
> "company.logo" only does work? If not have you the traceback maybe there 
> is an improvement in relatorio to do. 
>
>
yes, i instaled company_logo module and i modifed header_A4.odt file as i 
said and it works
 

> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Reply via email to