Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2073 Visualizzazioni

When printing documents, sale order, quotation etc, the company name and address prints much lower down than the top of the logo, does this just happen by default or there is anywhere I can inherit/add code to change this please?


Avatar
Abbandona
Risposta migliore

Hi,

Odoo read company details from the Document Layout configuration, so you can go to Settings -> then under Companies section click on  Configure Document Layout

Then remove any empty lines in the "Company Details":

If this not the issue, then there is another cause for the issue, if you entered "Company Tagline" in the document layout then you removed it, the field will not be empty because it HTML field and it will have break line tag so to solve this issue, you need to open companies list view and then export the following company fields to excel (id, report_header) and then remove the HTML code from report_header column and then import it again.




Avatar
Abbandona
Autore

I think I worked out the problem - above the address on the configuration is the space for Company Tagline (report_header) field, I think if remove this from the layout the address might be nearer the top?

I was testing this and updated my answer.

Autore

Amazing! Thanks so much for this.

Post correlati Risposte Visualizzazioni Attività
0
nov 23
1960
0
nov 23
1483
0
set 21
2319
1
mag 18
3527
2
gen 17
6656