TIP: You can type at any time to perform a new search.
Cloud Storage Migration
cloud_storage_migration · odoo/odoo
🛠 Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE ir_config_parameter SET value = %s WHERE key = 'cloud_storage_migration_min_attachment_id'` - re-check the table/column names still match after upgrading. migration-raw-sql-write
Found by automated static analysis: patterns worth a look before/after upgrading this module to a newer Odoo version.
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Technical Settings
- Folder size
- 0.59 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-12 16:12:28
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Odoo Translation Bot, Dylan Kiss (dyki), Chong Wang (cwg), Sven Fuehr, Léo Gizard, Tina
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cloud_storage_migration_config_settings_view_form |
cloud_storage_migration_config_settings_view_form | res.config.settings | form | Inherits cloud_storage.cloud_storage_config_settings_view_form |
view_cloud_storage_migration_report_list |
cloud.storage.migration.report.list | cloud.storage.migration.report | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (11)
-
all_countIntegerhelp='Total number of attachments associated with all records of this model'readonly=Truestring='Total Attachments Count' -
all_max_sizeIntegerhelp='Size in megabytes of the largest attachment associated with any record of this model'readonly=Truestring='Largest Attachment (MB)' -
all_sum_sizeIntegerhelp='Total size in megabytes of all attachments associated with records of this model'readonly=Truestring='Total Attachments Size (MB)' -
all_to_migrateBooleancompute='_compute_all_to_migrate'help='Indicates whether all attachments associated with this model are scheduled for cloud storage migration'string='All Attachments Migration' -
has_attachment_relBooleancompute='_compute_has_attachment_rel'help='Indicates whether this model has a relational field linking to ir.attachment model'string='Has Attachment Field' -
message_countIntegerhelp='Total number of attachments linked to mail messages for this model'readonly=Truestring='Message Attachments Count' -
message_max_sizeIntegerhelp='Size in megabytes of the largest attachment linked to mail messages for this model'readonly=Truestring='Message Largest Attachment (MB)' -
message_sum_sizeIntegerhelp='Total size in megabytes of all attachments linked to mail messages for this model'readonly=Truestring='Message Attachments Size (MB)' -
message_to_migrateBooleancompute='_compute_message_to_migrate'help='Indicates whether attachments linked to mail messages for this model are scheduled for cloud storage migration'string='Message Attachments Migration' -
res_modelCharreadonly=Truestring='Model' -
res_model_nameCharcompute='_compute_res_model_name'readonly=Truestring='Model Name'
-
get_progress(self) -
init(self)Initialize the SQL view for the cloud storage migration report.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (5)
-
cloud_storage_migration_all_model_idsOne2many → ir.modelcompute='_compute_cloud_storage_migration_all_model_ids'help="Migrate Models' All Attachments"inverse='_inverse_cloud_storage_migration_all_model_ids'store=Falsestring='All Attachments' args: 'ir.model' -
cloud_storage_migration_all_modelsCharconfig_parameter='cloud_storage_migration_all_models' -
cloud_storage_migration_message_model_idsOne2many → ir.modelcompute='_compute_cloud_storage_migration_message_model_ids'help="Migrate Models' Message Attachments"inverse='_inverse_cloud_storage_migration_message_model_ids'store=Falsestring='Message Attachments' args: 'ir.model' -
cloud_storage_migration_message_modelsCharconfig_parameter='cloud_storage_migration_message_models' -
cloud_storage_migration_progressIntegerhelp='Shows the progress of cloud storage migration (current/total)'string='Migration Progress'
-
action_open_cloud_storage_migration_configurations(self) -
get_values(self)@api.model
Loading…