Hello Odoo Community,
I’m setting up an Odoo multi-company, multi-database installation, and I’ve run into several issues, mainly related to generating and sending documents via email.
Here are the main problems I’ve encountered:
-
Email Logos with Broken Links
When emails are sent, the logos don’t display correctly. The logo URL appears as:https://<domain>/logo.png?company=1
However, this link doesn’t work when accessed directly in the browser. If I manually add the database to the URL, it works:https://<domain>/logo.png?company=1&db=<db>
-
Logos Overwritten Across Databases
The logos for different databases seem to overwrite each other (same company id). Even though the logo appears if I include the database in the URL (as noted above), only the most recently uploaded logo is actually displayed, regardless of which database is being used. -
Invoices and Documents Not Rendering Correctly
Invoices and other documents don’t display logos properly and appear in a plain format (almost as if they don’t have access to the CSS). I suspect this is related to the issues described in points 1 and 2.
Additional Information
- The domain is shared across all databases.
- I’m using multiple databases because I don’t want data like products or contacts to be shared between companies.
- System details:
- wkhtmltopdf: 0.12.6.1 (with patched Qt)
- OS: Ubuntu 24.00
Questions
- Is there a solution for these issues?
- Could this be a configuration problem on my end?
Any guidance or suggestions would be greatly appreciated. Thank you for your help!