Record and Create Modules
base_module_record · odoo/odoo
-
Security16/253 minor findings
-
Activity0/25Last human commit 177 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
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
base_module_data— Class 'base_module_data' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourcebase_module_data— Class 'base_module_data' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · sourcebase_module_record— Class 'base_module_record' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcebase_module_record— Class 'base_module_record' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcebase_module_record— Class 'base_module_record' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourcebase_module_record— Class 'base_module_record' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · 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
This module allows you to create a new module without any development.
It records all operations on objects during the recording session and produce a .ZIP module. So you can create your own module directly from the OpenERP client.
This version works for creating and updating existing records. It recomputes dependencies and links for all types of widgets (many2one, many2many, ...). It also support workflows and demo/update data.
This should help you to easily create reusable and publishable modules for custom configurations and demo/testing data.
How to use it: Run Administration/Customization/Module Creation/Export Customizations As a Module wizard. Select datetime criteria of recording and objects to be recorded and Record module.
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 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
base_module_record_data_view |
base_module_record_data | base.module.data | form | New |
base_module_record_objects_view |
base_module_record_objects | base.module.record | form | New |
base_module_save_view |
base_module_save | base.module.save | form | New |
info_start_form_view |
info.start.form.view | base.module.record.objects | form | New |
module_create_form_view |
module.create.form | base.module.record.objects | form | New |
module_create_xml_view |
module.create.xml.form | base.module.record.data | form | New |
module_recording_message_view |
module_recording_message | base.module.record.objects | form | New |
yml_save_form_view |
yml.save.form | base.module.record.objects | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.