TIP: You can type at any time to perform a new search.
AutoVacuum Mail Message
autovacuum_mail_message · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.03 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 07:10:01
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
message_vacuum_rule_form_view |
message.vacuum.rule.form.view | message.vacuum.rule | form | New |
message_vacuum_rule_tree_view |
message.vacuum.rule.form.view | message.vacuum.rule | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (2)-
autovacuum_mail_message(self)@api.model -
batch_unlink(self)@api.multi
New fields (7)
-
company_idMany2one → res.companydefault=<expr>string='Company' args: 'res.company' -
empty_subtypeBooleanhelp='Take also into account messages with no subtypes' -
message_subtype_idsMany2many → mail.message.subtypehelp="Message subtypes concerned by the rule. If left empty, the system won't take the subtype into account to find the messages to delete"string='Subtypes' args: 'mail.message.subtype' -
message_typeSelectionrequired=True args: [('email', 'Email'), ('comment', 'Comment'), ('notification', 'System notification'), ('all', 'All')] -
model_idsMany2many → ir.modelhelp='Models concerned by the rule. If left empty, it will take all models into account'string='Models' args: 'ir.model' -
nameCharrequired=True -
retention_timeIntegerdefault=365help='Number of days the messages concerned by this rule will be keeped in the database after creation. Once the delay is passed, they will be automatically deleted.'required=True
-
get_message_domain(self)@api.multi -
retention_time_not_null(self)@api.multi@api.constrains('retention_time')