تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4278 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
نوفمبر 19
4607
2
ديسمبر 19
4930
3
ديسمبر 19
7392
1
فبراير 19
9717
1
نوفمبر 24
1504