Skip to content
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

[FW][FIX] portal: fix portal title for the salesperson data #109134

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Jan 4, 2023

Before this commit, if the helpdesk module was installed, the title of the salesperson data was changed from "Your contact" to "Salesperson" for portal users. This did not add any value and the title of the tab also became "Salesperson" which we do not want. This commit allows to keep the title "Your contact" above the salesperson information and to not change the tab title.

Steps to reproduce the problem fixed by this commit:

  • Run Odoo enterprise with helpdesk and sales installed.
  • As the admin, create a helpdesk ticket with Joel Willis (portal user) as the customer and save.
  • Click on Joel Willis, select the "Sales & Purchases" tab and set a salesperson.

=> Log in as Joel Willis and on /my, you will have "Salesperson" as the title of the tab. This bad behavior is due to [this commit] that added a title above the salesperson information. But with this change the title of the tab was also impacted. Then [this other commit] added a default title above the salesperson information. We can be satisfied with this default title which does not alter the title of the tab.

[this commit]: https://github.com/odoo/enterprise/commit/700e9dec4a5c9fca354e063d6a85b0514832c84c [this other commit]: d5c66ca

opw-3103718

Before:
image

After:
image

Forward-Port-Of: #108705

Before this commit, if the helpdesk module was installed, the title of
the salesperson data was changed from "Your contact" to "Salesperson"
for portal users. This did not add any value and the title of the tab
also became "Salesperson" which we do not want. This commit allows to
keep the title "Your contact" above the salesperson information and to
not change the tab title.

Steps to reproduce the problem fixed by this commit:
- Run Odoo enterprise with helpdesk and sales installed.
- As the admin, create a helpdesk ticket with Joel Willis (portal user)
as the customer and save.
- Click on Joel Willis, select the "Sales & Purchases" tab and set a
salesperson.

=> Log in as Joel Willis and on /my, you will have "Salesperson" as the
title of the tab. This bad behavior is due to [this commit] that added a
title above the salesperson information. But with this change the title
of the tab was also impacted. Then [this other commit] added a default
title above the salesperson information. We can be satisfied with this
default title which does not alter the title of the tab.

[this commit]: odoo/enterprise@700e9de
[this other commit]: odoo@d5c66ca

opw-3103718

X-original-commit: 1ebeec9
@robodoo
Copy link
Contributor

robodoo commented Jan 4, 2023

@fw-bot
Copy link
Contributor Author

fw-bot commented Jan 4, 2023

This PR targets saas-15.3 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Jan 4, 2023
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jan 4, 2023
robodoo pushed a commit that referenced this pull request Jan 5, 2023
Before this commit, if the helpdesk module was installed, the title of
the salesperson data was changed from "Your contact" to "Salesperson"
for portal users. This did not add any value and the title of the tab
also became "Salesperson" which we do not want. This commit allows to
keep the title "Your contact" above the salesperson information and to
not change the tab title.

Steps to reproduce the problem fixed by this commit:
- Run Odoo enterprise with helpdesk and sales installed.
- As the admin, create a helpdesk ticket with Joel Willis (portal user)
as the customer and save.
- Click on Joel Willis, select the "Sales & Purchases" tab and set a
salesperson.

=> Log in as Joel Willis and on /my, you will have "Salesperson" as the
title of the tab. This bad behavior is due to [this commit] that added a
title above the salesperson information. But with this change the title
of the tab was also impacted. Then [this other commit] added a default
title above the salesperson information. We can be satisfied with this
default title which does not alter the title of the tab.

[this commit]: odoo/enterprise@700e9de
[this other commit]: d5c66ca

opw-3103718

closes #109134

X-original-commit: 1ebeec9
Related: odoo/enterprise#35442
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
@robodoo robodoo temporarily deployed to merge January 5, 2023 16:37 Inactive
@robodoo robodoo closed this Jan 5, 2023
@fw-bot fw-bot deleted the saas-15.3-14.0-fix-portal-tab-title-gdi-4THA-fw branch January 19, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants