Skip to content

[18.0][IMP] mail_attach_existing_attachment: Add more information in the attachment display name#195

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-mail_attach_existing_attachment
May 20, 2026
Merged

[18.0][IMP] mail_attach_existing_attachment: Add more information in the attachment display name#195
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-mail_attach_existing_attachment

Conversation

@carlos-lopez-tecnativa
Copy link
Copy Markdown
Contributor

When a message contains multiple attachments, including duplicates or files with the same name, it becomes difficult to distinguish them.

This commit improves the display name of attachments by adding the creator (user) and creation date, making it easier to differentiate records.

Before
image

After
image

FWP of OCA/social#1736

TT62629
@Tecnativa @pedrobaeza could you please review this?

…tachment display name

When a message contains multiple attachments, including duplicates or files with the same name, it becomes difficult to distinguish them.

This commit improves the display name of attachments by adding the creator (user) and creation date, making it easier to differentiate records.

NOTE: This change impacts the display name at the model level. In the mail scope, this function cannot be easily inherited, which is why the change is applied directly here.
https://github.com/odoo/odoo/blob/7a190bd33d3038828b22575d7aa860eacb503e05/addons/mail/static/src/core/common/composer.js#L505-L544
@OCA-git-bot OCA-git-bot added mod:mail_attach_existing_attachment Module mail_attach_existing_attachment series:18.0 labels May 20, 2026
@pedrobaeza pedrobaeza added this to the 18.0 milestone May 20, 2026
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Let's pair branches.

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-195-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3e0217f into OCA:18.0 May 20, 2026
7 of 9 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at e42766b. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-mail_attach_existing_attachment branch May 20, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants