Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1990 Widoki

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?


Awatar
Odrzuć
Najlepsza odpowiedź

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.




Awatar
Odrzuć
Autor

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.

Autor

Amazing! Thanks so much for this.

Powiązane posty Odpowiedzi Widoki Czynność
0
lis 23
1884
0
lis 23
1437
0
wrz 21
2203
1
maj 18
3404
2
sty 17
6531