Skip to content

[16.0][MIG] mail_outbound_static: Migration to 16.0#1035

Merged
OCA-git-bot merged 24 commits into
OCA:16.0from
ursais:16.0-mig-mail_outbound_static
Mar 20, 2023
Merged

[16.0][MIG] mail_outbound_static: Migration to 16.0#1035
OCA-git-bot merged 24 commits into
OCA:16.0from
ursais:16.0-mig-mail_outbound_static

Conversation

@dreispt

@dreispt dreispt commented Jan 2, 2023

Copy link
Copy Markdown
Member

No description provided.

@dreispt dreispt changed the title [MIG] mail_outbound_static: Migration to 16.0 [16.0][MIG] mail_outbound_static: Migration to 16.0 Jan 2, 2023

@yostashiro yostashiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@dreispt Thanks for the PR. Can you please check this commit qrtl@196f6b3 which I added on top of yours, and cherry-pick this as appropriate?

Comment thread mail_outbound_static/models/ir_mail_server.py

@CasVissers-360ERP CasVissers-360ERP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We have it running for some months now, all good.

@adrienpeiffer

Copy link
Copy Markdown

Hi @dreispt
I have an issue related with the smtp_sesssion which is set here

https://github.com/odoo/odoo/blob/439bef710b78afe0e5ba1d54ce04a5e5c3906cdc/addons/mail/models/mail_mail.py#L397

The content of the FROM is replaced by the value on the session here :

https://github.com/odoo/odoo/blob/15aa0e5025e35a5093bd70cae0513cb492806dcc/odoo/addons/base/models/ir_mail_server.py#L602

Do you have this kind of issue ?

@yostashiro

Copy link
Copy Markdown
Member

@adrienpeiffer I believe #1051 will fix the issue you mention.

Comment thread mail_outbound_static/models/ir_mail_server.py Outdated
lasley and others added 24 commits February 25, 2023 12:06
* Allow for the configuration of the FROM header for outbound emails, and move the existing from header to Sender as per RFC-2822
Fixing and extending tests
Add setup
Co-Authored-By: Jairo Llopis <Yajo@users.noreply.github.com>
use sudo to get ir.config_parameter, otherwise when normal users try to
send email they get AccessError
- fix misspellings errors in documentation
- add unit test to avoid github checkers red status in codecov tests.
- add validation of email from and domain whitelist fields.
- update documentation remove roadmap for already updated functionalities.
- update translations
@dreispt dreispt force-pushed the 16.0-mig-mail_outbound_static branch 2 times, most recently from 075eb79 to ec06042 Compare February 25, 2023 15:09
@dreispt

dreispt commented Feb 25, 2023

Copy link
Copy Markdown
Member Author

Fixed and rebased.
Please re-review.

@hbrunn

hbrunn commented Mar 20, 2023

Copy link
Copy Markdown
Member

/ocabot merge nopatch
/ocabot migration mail_outbound_static

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @hbrunn. Your command failed:

Invalid options for command merge: nopatch.

Ocabot commands

  • ocabot merge major|minor|patch|nobump
  • ocabot rebase
  • ocabot migration {MODULE_NAME}

More information

@hbrunn

hbrunn commented Mar 20, 2023

Copy link
Copy Markdown
Member

/ocabot merge nobump
/ocabot migration mail_outbound_static

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Mar 20, 2023
@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1035-by-hbrunn-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Mar 20, 2023
40 tasks
@OCA-git-bot OCA-git-bot merged commit dafb7bb into OCA:16.0 Mar 20, 2023
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

SiesslPhillip pushed a commit to grueneerde/OCA-social that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/social (16.0)
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.