Skip to content

[19.0] *: forward ports from 18.0 - #329

Open
MiquelRForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-port-from-18.0
Open

MiquelRForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-port-from-18.0

Conversation

…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
When sending a rich HTML email by using the wizard, Odoo followed a different code path that avoided the auto-defer.

Now both systems (direct text-only and wizard with HTML) behave the same.

Still, you can use the wizard send dropdown to select a different date.

@moduon MT-13187
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @yajo,
some modules you are maintaining are being modified, check this out!

@oca-cla-bot

oca-cla-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@OCA-git-bot OCA-git-bot added series:19.0 mod:mail_attach_existing_attachment Module mail_attach_existing_attachment mod:mail_tracking Module mail_tracking mod:mail_post_defer Module mail_post_defer labels Oct 30, 2026
@MiquelRForgeFlow

Copy link
Copy Markdown
Contributor Author

@sabrinaRMartin could you check the CLA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_attach_existing_attachment Module mail_attach_existing_attachment mod:mail_post_defer Module mail_post_defer mod:mail_tracking Module mail_tracking series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants