Records Archiver
record_archiver · OCA/server-tools
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 98 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 7.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
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
5 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
IrModel— 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 · sourceRecordLifespan— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceRecordLifespan— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceir_cron_record_archiver— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceview_record_lifespan_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
-
odoo/odoo:- base
- 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 |
|---|---|---|---|---|
view_record_lifespan_search |
record.lifespan.search | record.lifespan | search | New |
view_record_lifespan_tree |
record.lifespan.tree | record.lifespan | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
has_an_active_fieldBooleancompute=_compute_has_an_active_fieldsearch=_search_has_an_active_fieldstring='Has an active field'
No public methods.
New fields (4)
-
archive_statesCharhelp="Comma-separated list of states in which records should be archived. Implicit value is `'done, cancel')`." -
model_idMany2one → ir.modeldomain=[('has_an_active_field', '=', True)]required=Truestring='Model' args: 'ir.model' -
model_nameCharreadonly=Truerelated='model_id.model'string='Model Name' -
monthsIntegerhelp='Number of month after which the records will be set to inactive based on their write date'required=True
-
archive_records(self)@api.multiCall the archiver for several record lifespans.
Loading…
Loading…