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

Hello together,

I have installed odoo 8 and want customize the reports Sales Invoice, Delivery note and Order confirmation.

I have problems with the header and footer. In OpenOffice reports the header and footer are loaded from the company settings.

As far as I find out in qWeb reports the header and footer are called with the following line in the report:

  •   <t t-call="report.external_layout">

How I can customize report.external_layout? How I can customize the header and footer? How the header and footer are determined?

Best regards

cakbulut

 

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

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ỏ

David Can you help me with step by step instructions on how to create a QWeb report ?

Tác giả Câu trả lời hay nhất

Hello David,

great that is what I have searched.

Thank you.

Ảnh đại diện
Huỷ bỏ