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

Hello everyone,

I am using Odoo 12 and need to print invoice information (invoice number and date) and customer address on every report page.

I am using standard Odoo tempates for invoices.

Can anyone help me achieve that?

Thank you very much

PM    


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

Hi Paulo:

You will need to do 2 things for this:

  1. Customize the report_invoice_document view and use t-set to set custom variables for the invoice number and date.

  2. Customize one of the web.external_layout.... views (depending on which layout has been selected at your site - most probably web.external_layout_standard) and print the values of these 2 variables inside the <header> section. 

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

Thank you Paresh,

I thought it was possible to do it without using "header" area.

Thank you once again

Best regards

PM

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 19
4643
2
thg 12 19
4956
3
thg 12 19
7446
1
thg 2 19
9785
1
thg 11 24
1544