Skip to Content
Menu
This question has been flagged

I'm currently working on configuring Odoo for my business, and I've run into an issue with the emails that are sent to our vendors. For example, the 'Settings: New User Invite' email is showing Odoo's default logo in the top right corner instead of my company's logo. I've checked the email template views in the Technical menu and even looked through the code, but everything appears to be set up properly to show my company logo.


</td><td valign="middle" align="right" t-if="not object.user_id.company_id.uses_default_logo">

                    <img t-attf-src="/logo.png?company={{ object.user_id.company_id.id }}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" t-att-alt="object.user_id.company_id.name">

                </td>

Company ID is '1'

I realized that although my company logo is visible in the Preview option, the vendor only receives emails with the Odoo logo instead of mine. To keep track of this, I turned off the auto-delete emails setting, which allows me to compare the emails I sent with what the vendor received. Surprisingly, my logo is present in the sent emails within Odoo, but the vendor's inbox shows only the Odoo logo. Is this a common problem? I found discussions about it on the Odoo forums, but no clear solutions were provided. Can someone please help me with this issue?


Working with Odoo v17 (Enterprise Edition). I also conducted tests on demo.odoo.com (v18) and observed identical responses in both scenarios.


Screenshot of the e-mail received by the Vendor.

Screenshot of the e-mail received by the Vendor.

Avatar
Discard

Could it be possible that your Vendor received an email or visited your website before the logo was added, and the image at the end of the URL was cached?

Test this by asking them to open the email or visit your website in Incognito mode.

Author

I used my second mail ID (Gmail account) as a Vendor's mail ID for testing purpose. I can see the mails received by the Vendor bears Odoo's logo rather than my company's in theinbox of Gmail.
I have already tried clearing the cache from browsing history in addition to hard refresh. Now,as per your suggestion i logged into to the Gmail in incognito mode. Still the i can see only Odoo logo in the Gmail inbox.

Author

I can let you know how I tested it out in demo.odoo.com and still faced the issue.

1. Opened demo.odoo in incognito.

2. Added my company logo (180x79) to the Demo Company.

3. Created an Outgoing Email Server account in Odoo with my Gmail account.

4. Created a Vendor and filled in the mail ID as my 2nd email address.

5. Sent a Grant Portal access mail to the vendor from Odoo.

6. Logged in to my 2nd Gmail account in the same incognito browser.

7. All i can see is Odoo's default logo on the top right of the mail, while the preview of "Portal: User Invite" Email template shows correctly, my company's logo.

Am I missing something here? Have been behind this for a while now, haven't got any solid reason as to why this is happening.

Author Best Answer


Found the issue. I was having multiple DBs at a time. Links pointing to any of the page/logo in a DB will not load without selecting the DB from DB selector page. Images of logo in e-mail were simply web links pointing to my DB. Since, these were unable to select the DB by itself, they were simply loading the default Odoo logo.

Once, I deleted the redundant DB from Odoo and left with only single DB, my company logo started showing up everywhere.  Even the earlier emails have been updated with my current logos.

Also, the demo DB (demo.odoo.com) was not loading the correct logo during testing. This could be because I was having only an instance of this DB open in my browser, but when it comes to loading links pointing to this DB, again there has to be a DB selected before loading them. This is not really a bug. May be Odoo can include the DB name in all those links to avoid such confusions.

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 24
1989
2
Nov 24
2552
1
Feb 25
4306
1
Mar 23
4006
3
Dec 22
3071