Attachment Base Synchronize
attachment_base_synchronize · OCA/server-tools
Renamed to attachment_queue in 12.0
Health
54/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 34 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 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
AGPL-3
No conflicts with its dependencies
Folder size
0.87 MB
Module directory on disk
Code analysis
4 migration notes
1 model
3 views
0 HTTP endpoints
Migration considerations
IrAttachmentMetadata— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcecronjob_run_attachments_metadata— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceview_attachment_improved_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_external_attachment_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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_attachment_improved_form |
ir.attachment.metadata | form | Inherits base.view_attachment_form | |
view_external_attachment_search |
ir.attachment.metadata | search | New | |
view_external_attachment_tree |
ir.attachment.metadata | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (7)
-
attachment_idMany2one → ir.attachmenthelp='Link to ir.attachment model 'ondelete='cascade'required=True args: 'ir.attachment' -
external_hashCharhelp='File hash comes from the external owner of the file.\nIf provided allow to check than downloaded file is the exact copy of the original file.' -
file_typeSelectionhelp='The file type determines an import method to be used to parse and transform data before their import in ERP or an export'selection=[] -
internal_hashCharcompute='_compute_hash'help='File hash computed with file data to be compared to external hash when provided.'store=True -
stateSelectiondefault='pending'readonly=Falserequired=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')] -
state_messageText -
sync_dateDatetime
-
run(self)@api.multiRun the process for each attachment metadata -
run_attachment_metadata_scheduler(self, domain=None)@api.model -
set_done(self)@api.multiManually set to done
Loading…
Loading…