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

I don't know why but when I print a quotation or an invoice it doesn't seem to have a footer.

Does anyone have an idea why ?

and for this solution, I just didn't get it, I didn't know what should I edit.

To edit the header and footer for Quote/Sale orders you need to edit the QWeb view. Here is how to do this:

  1. Settings > Technical > User Interface > Views
  2. Search for "external"
  3. You will see report.external_layout, report.external_layout_header and report.external_layout_footer
  4. Edit these views as appropriate to modify the PDF version of the Quote/Sales orders
Ảnh đại diện
Huỷ bỏ

Do you get a header on your reports? Does your QWeb report have the added too?

Does it have this statement in the report too?

Okay so apparently you can no longer post code in a comment on an answer..do you have the t-call report.external_layout in your QWeb report?

Tác giả

Yes I do have a Hearder and also the t-call

You have checked "Custom Footer" on company view?

Tác giả

Yes I Did.

What paper size are you using and how big is the footer defined in it?

Tác giả

The paper format that I'm using is A4

which operating system your are using ?

Câu trả lời hay nhất

If you have checked "Custom Footer" on company view, probably your Report Footer on the same view is emtpy (or issue in it code)
or your bottom margin for defined Paper format company is to small.

You uncheck Custom Footer and test.

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

Are you printing your report as PDF or HTML?  What version of wkhtmltopdf are you using 0.12.2 or 0.12.2.1?

A confirmed bug was reported on version 0.12.2.1 that is being reviewed by Odoo.  GitHub Issue #4806,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 23
2706
1
thg 5 16
3610
2
thg 4 16
4270
2
thg 7 24
1895
TAX 15% Đã xử lý
1
thg 4 24
2707