xml - How to add company logo in POS receipt in OpenERP? -


i want print company logo when print point of sale receipt in openerp 6.1.1. have added following code in pos.xml file :

<img width="60" height="30" border="0" src="http://localhost:8069/web/static/src/img/logo.png"></img> 

but if change logo of company not affect in receipt logo. how can add dynamic logo of company in pos receipt?

write tag in header of rml file

< pagetemplate id="first">
< frame id="first" x1="39.0" y1="20.0" width="770" height="450"/>
< pagegraphics>
< image x="5.5cm" y="17.0cm" height="90.0">[[company.logo]] < /image>.
< / pagegraphics>
< /pagetemplate >


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -