[IMP] sql_export_mail: allow partners as email recipients#1104
Open
[IMP] sql_export_mail: allow partners as email recipients#1104
Conversation
Contributor
|
Hi @legalsylvain, |
Larsq1
approved these changes
Dec 12, 2025
sql_export_mail/__manifest__.py
Outdated
| { | ||
| "name": "SQL Export Mail", | ||
| "version": "17.0.1.0.0", | ||
| "version": "17.0.1.0.2", |
Contributor
There was a problem hiding this comment.
please, dont change this key in the manifest. it will be done, when merging.
Larsq1
reviewed
Dec 12, 2025
Larsq1
suggested changes
Dec 12, 2025
sql_export_mail/models/sql_export.py
Outdated
| if not user.email: | ||
| raise UserError(_("The user does not have any e-mail address.")) | ||
| raise UserError( | ||
| self.env._("The user does not have any e-mail address.") |
Contributor
There was a problem hiding this comment.
Suggested change
| self.env._("The user does not have any e-mail address.") | |
| _("The user does not have any e-mail address.") |
1a2e6f3 to
85766a8
Compare
Backported from Odoo 18 version into 17.0 branch. - Add mail_partner_ids field to send SQL export reports to partners - Include partner emails in mail template alongside user emails
85766a8 to
35167df
Compare
Larsq1
approved these changes
Dec 16, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Add a backported feature for sending SQL export reports to partners in addition to users. This enables more flexible notification workflows by allowing partners to receive automated reports via email.
Migration Notes
This feature is backported from v18/16 to v17 so it already existed.
Testing
All pre-commit hooks passed including:
Unit tests:
Manual testing performed with partner email notifications.