| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/9.0/autovacuum_mail_message |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, oca-travis |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-tools |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:22 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - base - base_setup - web_kanban - web - bus |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| 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 |
No new fields.
Public methods (2)autovacuum_mail_message(self)
batch_unlink(self)
company_id
Many2one → res.company
default=<expr>
string='Company'
args: 'res.company'
empty_subtype
Boolean
help='Take also into account messages with no subtypes'
message_subtype_ids
Many2many → mail.message.subtype
help="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_type
Selection
required=True
args: [('email', 'Email'), ('comment', 'Comment'), ('notification', 'System notification'), ('all', 'All')]
model_ids
Many2many → ir.model
help='Models concerned by the rule. If left empty, it will take all models into account'
string='Models'
args: 'ir.model'
name
Char
required=True
retention_time
Integer
default=365
help='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)
retention_time_not_null(self)