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

[FIX] mail: show multiple button when we show delete button #165605

Closed

Conversation

pimodoo
Copy link
Collaborator

@pimodoo pimodoo commented May 15, 2024

Since showDelete is not the same that checking that an attachement isDeletable, we need to add the class that diplays multiple buttons if we show the delete button, otherwise the Download button will be hidden.

So we now use the correct value to decide if display multiple button.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Since showDelete is not the same that checking that an attachement
isDeletable, we need to add the class that diplays multiple buttons if
we show the delete button, otherwise the Download button will be hidden.

So we now use the correct value to decide if display multiple button.
@robodoo
Copy link
Contributor

robodoo commented May 15, 2024

Copy link
Contributor

@alexkuhn alexkuhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Download button missing from messages with more than one attachment
4 participants