تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7108 أدوات العرض

I'd like to be able to print the image of a product on the various pdf reports that Odoo outputs - like the Quotation/Order, the 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

You can inherit and override the QWEB report report_saleorder_document and add the following line:

<img t-if="l.product_id.image_small" t-att-src="'data:image/png;base64,%s' % l.product_id.image_small" style="max-height: 45px;"/>

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

To add the product image in the reports, have a look at this module :  Product image for sale reports

This will add the product image in sale report

Thanks

الصورة الرمزية
إهمال

The answer may be irrelevant for the one who asked the question, but will help the one who are looking for the same

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 24
4716
4
مارس 22
17387
2
ديسمبر 21
1828
0
أكتوبر 21
2985
2
ديسمبر 19
23558