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

I have only one company but i want for my sale invoice report to have different header and logo and not of the company. Can you tell me how and please explain this line of code used for adding image in header as i am unable to understand it.

<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 70px, max-width: 70px;"/>

I shall be very thankful.

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

someone please help

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
5590
2
thg 6 25
2458
4
thg 5 24
6404
1
thg 5 23
4158
0
thg 12 18
3004