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
Odoo dependencies
OCA/server-tools:
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description

SQL export email addon
=========================

Add server action type to send by email a sql export
For this new action type you need to fill the following fields :
- SQL export : it defines the SQL export to use to get the data.
- Template : it is the mail template to send the email.

Example of use : in a cron for a periodic export of some data
                 to see the evolution.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_server_action_form Server Action (sql_export_email) ir.actions.server form Inherits base_export_email.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_state(self, cr, uid, ids, state, context=None)
  • run(self, cr, uid, ids, context=None)
    If the state of an action is sql_export_email, get data related to the sql_export and send the result by email