Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4281 Представления

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    


Аватар
Отменить
Лучший ответ

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. 

Аватар
Отменить
Автор

Thank you Paresh,

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

Thank you once again

Best regards

PM

Related Posts Ответы Просмотры Активность
2
нояб. 19
4615
2
дек. 19
4934
3
дек. 19
7395
1
февр. 19
9725
1
нояб. 24
1510