Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4166 Lượt xem

I have a problem when I'm printing multiple invoice records. The background image in the qweb report is random loaded and sometimes not.

Is there a way to tell the qweb report to wait for the background-image to full load?


thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

In Odoo Version 12.0  to show background image in report you can use  :-

<img t-attf-src="data:image/*;base64,{{line.product_id.image_1920}}"> 

Regards,




Email:     odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Ảnh đại diện
Huỷ bỏ
Tác giả

yes that's right, but the problem is not this. The problem is when we print multiple reports it's randomly showing the background image and sometimes not.

I think this is a bigger odoo issue...

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 18
3863
1
thg 1 21
9585
3
thg 1 20
8008
2
thg 10 22
7647
1
thg 3 15
5461