콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
7272 화면

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
9월 25
4830
4
3월 22
17660
2
12월 21
1929
0
10월 21
3154
2
12월 19
23755