-
Notifications
You must be signed in to change notification settings - Fork 23.2k
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] mail: show all attachment options #166098
Closed
fw-bot
wants to merge
1
commit into
odoo:master
from
odoo-dev:master-17.0-show-all-attachment-options-when-deletable-reth-0rSl-fw
Closed
[FW][FIX] mail: show all attachment options #166098
fw-bot
wants to merge
1
commit into
odoo:master
from
odoo-dev:master-17.0-show-all-attachment-options-when-deletable-reth-0rSl-fw
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
The template for the attachment list adds a class to show multiple options when attachments can be deleted. However the condition to display the delete button is different from the condition to apply that style. Meaning if one condition `showDelete` is true while the other `isDeletable` is false it is impossible to access the download button as the correct style is not applied. - Fix the template to use the same condition everywhere - Fix the condition for showDelete to always be false is deletion is disallowed Issue noticeable since [1] when attachments were made conditionally deletable as opposed to always deletable previously. 1: 32a80a3 task-3519815 X-original-commit: 1b1f58e
@reth-odoo this PR targets master and is the last of the forward-port chain. To merge the full chain, use
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
@fw-bot r+ |
robodoo
pushed a commit
that referenced
this pull request
May 21, 2024
The template for the attachment list adds a class to show multiple options when attachments can be deleted. However the condition to display the delete button is different from the condition to apply that style. Meaning if one condition `showDelete` is true while the other `isDeletable` is false it is impossible to access the download button as the correct style is not applied. - Fix the template to use the same condition everywhere - Fix the condition for showDelete to always be false is deletion is disallowed Issue noticeable since [1] when attachments were made conditionally deletable as opposed to always deletable previously. 1: 32a80a3 task-3519815 closes #166098 X-original-commit: 1b1f58e Signed-off-by: Renaud Thiry (reth) <reth@odoo.com>
zel-odoo
pushed a commit
to odoo-dev/odoo
that referenced
this pull request
May 24, 2024
The template for the attachment list adds a class to show multiple options when attachments can be deleted. However the condition to display the delete button is different from the condition to apply that style. Meaning if one condition `showDelete` is true while the other `isDeletable` is false it is impossible to access the download button as the correct style is not applied. - Fix the template to use the same condition everywhere - Fix the condition for showDelete to always be false is deletion is disallowed Issue noticeable since [1] when attachments were made conditionally deletable as opposed to always deletable previously. 1: 32a80a3 task-3519815 closes odoo#166098 X-original-commit: 1b1f58e Signed-off-by: Renaud Thiry (reth) <reth@odoo.com>
fw-bot
deleted the
master-17.0-show-all-attachment-options-when-deletable-reth-0rSl-fw
branch
June 4, 2024 07:47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
The template for the attachment list adds a class to show multiple options when attachments can be deleted.
However the condition to display the delete button is different from the condition to apply that style.
Meaning if one condition
showDelete
is true while the otherisDeletable
is false it is impossible to access the download button as the correct style is not applied.Issue noticeable since [1] when attachments were made conditionally deletable as opposed to always deletable previously.
Steps to reproduce:
1: 32a80a3
task-3519815
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #166094
Forward-Port-Of: #165332