This question has been flagged
3 Replies
4277 Views

Hello, I'm developing an application that uses Odoo xmlrpc. I'm creating the invoices without problems, but when I try to print the invoices, they don't have the regular format. If the invoice is created using the odoo UI the pdf generated has the correct format. Can you give any ideas in this topic?

Thanks in advance.

Avatar
Discard

what did you mean by ' don't have the regular format' ...

Do you have an example ? what is altered ?

Best Answer

Seems like you have a problem with db-filter or with your base url.

The differences between both are that all external file are not loaded. (so, no css, no img logo,...)

Check your base_url in ir.config.parameter (you can also freeze it).

Check that you don't have several server on this url, else wk will get the 'database selector' page instead of logo/css

Avatar
Discard
Author Best Answer

I coudn't post the images here (error 403), but you can find them here https://drive.google.com/folderview?id=0ByGu2xjYC6GQU285cV9TNEw0ak0&usp=sharing

Avatar
Discard