Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2070 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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.

Auteur

Amazing! Thanks so much for this.

Publications associées Réponses Vues Activité
0
nov. 23
1952
0
nov. 23
1476
0
sept. 21
2316
1
mai 18
3511
2
janv. 17
6653