AutoVacuum Mail Message
autovacuum_mail_message · OCA/server-tools
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 94 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis
7 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
MailMessage— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceMessageVacuumRule— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceir_cron_vacuum_message— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourcemessage_vacuum_rule_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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')