跳至内容
菜单
此问题已终结
2 回复
8796 查看

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
形象
丢弃

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?

编写者

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

You have checked "Custom Footer" on company view?

编写者

Yes I Did.

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

编写者

The paper format that I'm using is A4

which operating system your are using ?

最佳答案

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.

形象
丢弃
最佳答案

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,

形象
丢弃
相关帖文 回复 查看 活动
2
2月 23
2640
1
5月 16
3551
2
4月 16
4217
2
7月 24
1851
TAX 15% 已解决
1
4月 24
2671