.:: Jasa Membuat Aplikasi Website,Desktop,Android Order Now..!! | | Order Now..!! Jasa Membuat Project Arduino,Robotic,Print 3D ::.

How to print image to openERP report

0 komentar


بِسْــــــــــــــــمِ اﷲِالرَّحْمَنِ اارَّحِيم
bismillaahirrahmaanirrahiim

السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
Assalamu'alaikum warahmatullahi wabarakatuh

Recently a client was asking us to customize a report which require to print images from the database , after much research which I hope my sharing can be part of a sharing to the openERP community of Malaysia , Singapore local users as well as developer from around the world as well , here are the instruction i found ,

For Openerp 6.1-1

To insert the product image into Purchase order .
The procedure is to insert the following line code in RML format (Using the RML edit)


[[line.product_id.product_image]]


What is important in the above line is the line.product_id.product_image the other formats has to be changed later to adjust the image and its position into the form.

If using the integrated image (mainly the default base that comes with openerp 6.1) 
under section:


[[repeatIn(o.order_line,'line')]][[line.product_id.product_image]]


If using Chricar_product_image

[[repeatIn(o.order_line,'line')]][[line.product_id.picture]]



As for invoice you just need to insert the following line and it should works without a problem.
[[l.product_id.product_image]]
The best fit  :

[[repeatIn(o.order_line,'line')]]


[[ line.name ]] [[line.product_id.product_image]]


Putting the image under Description requires that : [[line.product_id.product_image]] is placed under [[line.name]]

the same applies to Purchase order and invoice as the above was applied to the sales.order

Hope this can be a help to some of us to shorten our research time somehow . 

And this information are taken from the 
http://www.openerp.com/forum/topic32445.html by Tedd.


HTH , Happy openERPing ! 
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
NB :: Bila Sobat tertarik Ingin membuat software, membeli software, membeli source code, membeli hardware elektronika untuk kepentingan Perusahaan maupun Tugas Akhir (TA/SKRIPSI), Insyaallah Saya siap membantu, untuk Respon Cepat dapat menghubungi kami, melalui :

No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com


atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين
Alhamdulilah hirobil alamin

وَ السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
wassalamualaikum warahmatullahi wabarakatuh


Artikel How to print image to openERP report, Diterbitkan oleh scodeaplikasi pada Selasa, 21 Agustus 2012. Semoga artikel ini dapat menambah wawasan Anda. Website ini dipost dari beberapa sumber, bisa cek disini sumber, Sobat diperbolehkan mengcopy paste / menyebar luaskan artikel ini, karena segala yang dipost di public adalah milik public. Bila Sobat tertarik Ingin membuat software, membeli software, membeli source code ,Dengan Cara menghubungi saya Ke Email: Fajarudinsidik@gmail.com, atau No Hp/WA : (fajar) : 085369237896, (puat) : 085267792168.

Tawk.to