TIP: You can type at any time to perform a new search.
Base export email addon
base_export_email · OCA/server-tools
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.addons.web.controllers` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.safe_eval` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. 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=`. migration-old-style-fields · sourceactions_server— Class 'actions_server' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_server_action_form— For a target of Odoo 17.0+: view 'view_server_action_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Other
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.acsone.eu
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Laetitia Gangloff, Laetitia Gangloff (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sql_export_email
- 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.
Code Analysis
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