Skip to content

[IMP] sql_export_mail: allow partners as email recipients - #1212

Open
DjodyKort wants to merge 1 commit into
OCA:17.0from
codeforward-bv:17.0-imp-sql_export_mail-partner-recipients
Open

DjodyKort wants to merge 1 commit into
OCA:17.0from
codeforward-bv:17.0-imp-sql_export_mail-partner-recipients

Conversation

@DjodyKort

Copy link
Copy Markdown

Backport of mail_partner_ids from 16.0 and 18.0 to 17.0. 17.0 is the only version that doesn't have it yet, so this isn't new functionality.

  • mail_partner_ids field, plus a "Partners Notified by e-mail" group on the Mail tab
  • _check_mail_partner: partners need an e-mail address, and a query using company_id or user_id can't be sent to a partner
  • get_email_address_for_template collects the addresses of users and partners
  • test for the partner flow

Replaces #1104. The stale bot closed that one and GitHub won't let me reopen it. The review feedback there is applied: manifest version untouched, _() instead of self.env._().

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
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@DjodyKort

Copy link
Copy Markdown
Author

@legalsylvain
Alright a while ago I've already ported this feature back, only I kinda forgot about it. So let's see if we can manage to do it this time :)

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.

2 participants