New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] mail: adding database name in the url of company logo #31772
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
March 12, 2019 12:03
a9ef333
to
3e0a322
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Mar 12, 2019
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
March 12, 2019 13:34
3e0a322
to
43ea593
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Mar 12, 2019
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
March 13, 2019 12:50
43ea593
to
2266c74
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Mar 13, 2019
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
March 14, 2019 06:55
2266c74
to
e5bb717
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Mar 14, 2019
mba-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
April 1, 2019 10:23
e5bb717
to
6c6c1f3
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Apr 1, 2019
mba-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
April 1, 2019 11:48
6c6c1f3
to
8990642
Compare
mba-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
April 1, 2019 11:50
8990642
to
2385460
Compare
mba-odoo
pushed a commit
to odoo-dev/odoo
that referenced
this pull request
Apr 1, 2019
In the mail templates, when the logo of the company is needed, by default, we use the route <domain_name>/logo. In some cases the system does not manage to "guess" which DB or company to use and this gives the default Odoo logo which can be problematic. In this commit, we're adding database name as a parameter in logo url to overcome this issue. Task-ID: 1889370 Closes : odoo#31772
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
2 times, most recently
from
May 16, 2019 11:05
9329ec6
to
0aff561
Compare
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
May 20, 2019 06:41
0aff561
to
72734e7
Compare
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
May 20, 2019 10:31
72734e7
to
b48bf28
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
May 23, 2019
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
May 30, 2019 08:42
4c01926
to
92c25a2
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
May 30, 2019
hmo-odoo
reviewed
Jun 4, 2019
@@ -26,7 +26,7 @@ | |||
${object.name} | |||
</span> | |||
</td><td valign="middle" align="right"> | |||
<img src="/logo.png?company=${object.company_id.id}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${object.company_id.name}"/> | |||
<img src="/logo.png?company=${object.company_id.id}&dbname=${object.env.cr.dbname}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${object.company_id.name}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use "company" parameter in company_logo controller. https://github.com/odoo/odoo/blob/master/addons/web/controllers/main.py#L1185
I think we have to use "cids" parameter for a company in every url.
can we rename "company" with "cids" in company_logo controller?
mba-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
June 6, 2019 09:51
92c25a2
to
8729318
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Jun 6, 2019
mba-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
June 10, 2019 04:57
8729318
to
784733d
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Jun 10, 2019
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
June 21, 2019 06:48
784733d
to
702af99
Compare
kma-odoo
added a commit
to odoo-dev/odoo
that referenced
this pull request
Jun 21, 2019
* = auth_signup, digest, event, gamification, lunch, mass_mailing_crm, mass_mailing_sale, portal, survey, website_crm_partner_assign, website_mail_channel, website_profile, website_sale In the mail templates, when the logo of the company is needed, by default, we use the route <domain_name>/logo. In some cases the system does not manage to "guess" which DB or company to use and this gives the default Odoo logo which can be problematic. In this commit, we're adding database name as a parameter in logo url to overcome this issue. task-1889370 closes odoo#31772
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Jun 21, 2019
* = auth_signup, digest, event, gamification, lunch, mass_mailing_crm, mass_mailing_sale, portal, survey, website_crm_partner_assign, website_mail_channel, website_profile, website_sale In the mail templates, when the logo of the company is needed, by default, we use the route <domain_name>/logo. In some cases the system does not manage to "guess" which DB or company to use and this gives the default Odoo logo which can be problematic. In this commit, we're adding database name as a parameter in logo url to overcome this issue. task-1889370 closes odoo#31772
kma-odoo
force-pushed
the
master-mail-company-logo-kma
branch
from
July 16, 2019 05:39
702af99
to
fcf2ad6
Compare
robodoo
added
CI 🤖
Robodoo has seen passing statuses
and removed
CI 🤖
Robodoo has seen passing statuses
labels
Jul 16, 2019
Task cancelled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task Link: https://www.odoo.com/web#id=1889370&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
Pad Link: https://pad.odoo.com/p/r.d71047d940568b9151eb9511c4f54278
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr