-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] autovacuum_message_attachment: pre-commit auto fixes
- Loading branch information
1 parent
a1c6003
commit 65e1d1d
Showing
14 changed files
with
96 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- Go to the menu configuration =\> Technical =\> Email =\> Message And | ||
Attachment Vacuum Rules | ||
- Add the adequates rules for your company. On each rule, you can | ||
indicate the models, type and subtypes for which you want to delete | ||
the messages, along with a retention time (in days). Or for | ||
attachment, you can specify a substring of the name. | ||
- Activate the cron AutoVacuum Mails and Messages and/or AutoVacuum | ||
Attachments | ||
|
||
It is recommanded to run it frequently and when the system is not very | ||
loaded. (For instance : once a day, during the night.) |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Florian da Costa \<florian.dacosta@akretion.com\> | ||
- Enric Tobella \<etobella@creublanca.es\> | ||
- Helly kapatel \<helly.kapatel@initos.com\> | ||
- Akim Juillerat \<akim.juillerat@camptocamp.com\> |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Odoo create a lot of message and/or mails. With time it can slow the | ||
system or take a lot of disk space. The goal of this module is to clean | ||
these message once they are obsolete. The same may happen with | ||
attachment that we store. You can choose various criterias manage which | ||
messages you want to delete automatically. |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
You have to be careful with rules regarding attachment deletion because | ||
Odoo find the attachment to delete with their name. Odoo will find all | ||
attachments containing the substring configured on the rule, so you have | ||
to be specific enough on the other criterias (concerned models...) to | ||
avoid unwanted attachment deletion. |
This file was deleted.
Oops, something went wrong.
This file contains 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