Skip to content

[18.0][MIG] mail_cleanup: Migration to 18.0 - #3163

Merged
OCA-git-bot merged 15 commits into
OCA:18.0from
Ricardoalso:18.0-mig-mail_cleanup
Jan 28, 2025
Merged

[18.0][MIG] mail_cleanup: Migration to 18.0#3163
OCA-git-bot merged 15 commits into
OCA:18.0from
Ricardoalso:18.0-mig-mail_cleanup

Conversation

@Ricardoalso

Copy link
Copy Markdown
Contributor

No description provided.

mdietrichc2c and others added 14 commits January 15, 2025 11:11
* Add new module "mail_cleanup" in order to move/mark as read old messages

* Use correct Model + remove unnecessary conditions/assignments

* Add purging mechanism + cleanup is by default inactive

* Add new field + new info in README

* Correct type for purge_days + better checks

* Place expunge() call after parsing all messages

* Migration to 9.0 of mail_cleanup

* Fix README.rst

* Add __init__.py

* Fix error with multi mail servers

* Correct syntax for methods + use datetime.date.today
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-mail_cleanup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-mail_cleanup/
@Ricardoalso
Ricardoalso marked this pull request as draft January 15, 2025 10:39
@Ricardoalso
Ricardoalso force-pushed the 18.0-mig-mail_cleanup branch from 1114aeb to a313d0b Compare January 15, 2025 10:41
@Ricardoalso
Ricardoalso marked this pull request as ready for review January 15, 2025 10:43
@Ricardoalso
Ricardoalso force-pushed the 18.0-mig-mail_cleanup branch from e7a0c02 to 870dacc Compare January 15, 2025 11:17
@Ricardoalso
Ricardoalso force-pushed the 18.0-mig-mail_cleanup branch from 870dacc to c227892 Compare January 15, 2025 11:58

@vvrossem vvrossem left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 🙏

@simahawk

Copy link
Copy Markdown
Contributor

/ocabot migration mail_cleanup
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 28, 2025
@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-3163-by-simahawk-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Jan 28, 2025
42 tasks
@OCA-git-bot
OCA-git-bot merged commit 60e8169 into OCA:18.0 Jan 28, 2025
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.