Steps to reproduce: - Install 'Accounting' module - Switch to "My Company (Chicago)" - Create an invoice - Set Invoice date to 1/1/21 and - Set Due date to 1/3/21 - Add any product and 'Confirm' invoice - Go to customer profile - Click on 'Due' stat button - Click on 'Send by mail' Issue In received email, logo displayed is of "My Company (San Francisco)". Cause Env company not used. Instead, logo of customer.company_id is used if mail type have company_id field, else will fallback on user.company_id Also, if customer.company_id is null, it will fallback on '0': /logo.png?company=%s' % (company.id or 0) Solution If mail record have NOT a company_id field or is not set, set company to self.env.company. Else, set company to record.company_id. opw-2474114 closes odoo/odoo#73099 X-original-commit: 316b5956844d6f77f6fef1efeb5a8a8505e36e8e Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Odoo Enterprise Social Network
Connect with experts, follow what interests you, share documents and promote best practices with Odoo Enterprise Social Network. Get work done with effective collaboration across departments, geographies, documents and business applications. All of this while decreasing email overload.
Connect with experts
Next time you have a question for the marketing, sales, R&D or any other department, don't send an email blast-post the question to Odoo and get answers from the right persons.
Follow what interests you
Want to get informed about new product features, hot deals, bottlenecks in projects or any other event? Just follow what interests you to get the information you need what you need; no more, no less.
Get Things Done
You can process (not only read) the inbox and easily mark messages for future actions. Start feeling the pleasure of having an empty inbox every day; no more overload of information.
Promote best practices
Cut back on meetings and email chains by working together in groups of interests. Create a group to let people share files, discuss ideas, and vote to promote best practices.
Improve Access to Information and Expertise
Break down information silos. Search across your existing systems to find the answers and expertise you need to complete projects quickly.
Collaborate securely
Set the right security policy; public, private or on invitation only -- according to the information sensitivity.
A Twitter-like Network For My Company
Make every employee feel more connected and engaged with twitter-like features for your own company. Follow people, share best practices, 'like' top ideas, etc.