Invoice layout problems


If you have a problem with invoice layouts.

Like the information about the invoice is printed in your PDF, but the layout is missing. Then there’s properly a problem with the combination of your odoo installation and the WKHMTLTOPDF program.

To solve it, do the following:

  • goto settings.
  • parameters.
    • system parameters:

Then add the following key to your system parameters:

report.url with a value of: http://127.0.0.1:8069

 

remarks: The odoo server will send the layout information (which is designed in Qweb) to a module called wkhtmltopdf and odoo will normally get feedback from that module, to build the pdf. Because it cannot established a working connection to wkhtmltopdf, it can only create the invoice only with is own information, and it’s  therefore missing the layout information.

The solution is to provide Odoo with the correct URL, we are overriding the default report.url into the system to use it’s own localhost number (127.0.0.1 followed by the port number odoo is listening on, in this case :8069).

 

Advertenties

Een gedachte over “Invoice layout problems

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit / Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit / Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit / Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit / Bijwerken )

Verbinden met %s