Skip to content

Conversation

@eugenios73
Copy link

superseed #39

  • MIG to 18.0
  • IMP: Replicate the same functionality that has been done for mail.compose.message but in this case for account.move.send

sbejaoui and others added 23 commits October 16, 2025 09:34
This module allows you to create substitution rules for mail templates.
A typical use case is to replace a standard template by alternative templates
when some conditions are met. For instance, it allows to configure alternate
templates for different companies.
Currently translated at 100.0% (16 of 16 strings)

Translation: social-16.0/social-16.0-mail_template_substitute
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_template_substitute/es/
Currently translated at 25.0% (4 of 16 strings)

Translation: social-16.0/social-16.0-mail_template_substitute
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_template_substitute/it/
Currently translated at 100.0% (16 of 16 strings)

Translation: social-16.0/social-16.0-mail_template_substitute
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_template_substitute/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-17.0/social-17.0-mail_template_substitute
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_template_substitute/
@pedrobaeza
Copy link
Member

/ocabot migration mail_template_substitute

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 21, 2025
@OCA-git-bot
Copy link
Contributor

There's no issue in this repo with the title 'Migration to version 18.0' and the milestone 18.0, so not possible to add the comment.

@pedrobaeza
Copy link
Member

Why don't you reuse the code from the other PR?

@eugenios73 eugenios73 force-pushed the 18.0-mig-mail_template_substitute_2 branch from 7417a3e to 16513a6 Compare October 21, 2025 14:33
@eugenios73
Copy link
Author

@pedrobaeza I did it, but something happened that didn't keep your changes. I'm going to fix it.

@eugenios73 eugenios73 force-pushed the 18.0-mig-mail_template_substitute_2 branch from 16513a6 to 9810147 Compare October 22, 2025 06:35
@eugenios73 eugenios73 force-pushed the 18.0-mig-mail_template_substitute_2 branch from 9810147 to 34d49bf Compare October 22, 2025 07:11
@eugenios73
Copy link
Author

@pedrobaeza I solved the commit history and add tests

@eugenios73
Copy link
Author

@mpascuall @peluko00 @kiferrara @atchuthan @baimont @blopa98-S73 Please, can you review ths PR?

@Reyes4711-S73
Copy link

LGTM

Copy link

@sbiosca-s73 sbiosca-s73 left a comment

Choose a reason for hiding this comment

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

LGTM!

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Reyes4711-S73
Copy link

@OCA/mail-maintainers Please, can you merge this PR?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.