Base export email addon
base_export_email · OCA/server-tools
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 135 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.01 MB
Module directory on disk
Code analysis
5 migration notes
1 model
1 view
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
actions_server— Class 'actions_server' still inherits from the old-style `orm.Model` 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 · sourceactions_server— Class 'actions_server' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceview_server_action_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 · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (4 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
Base export email addon
Add server action type to send by email a data export For this new action type you need to fill the following fields :
- Filter : it defines the filter to use on the data.
- Template : it is the mail template to send the email.
- Saved export : it is a saved export list.
- Fields to export : it is the list of field to export. It can be used alone or to complete the saved export list.
Example of use : in a cron for a periodic export of some data to see the evolution.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sql_export_email
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_server_action_form |
Server Action (base_export_email) | ir.actions.server | form | Inherits base.view_server_action_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (2)-
onchange_model_id(self, cr, uid, ids, model_id, context=None)Used to set correct domain on filter_id and saved_export_id -
run(self, cr, uid, ids, context=None)If the state of an action is export_email, export data related to the configuration and send the result by email