SQL export email addon

sql_export_email
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/7.0/sql_export_email
VERSION
VERSION 0.1
CATEGORY
CATEGORYOther
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSLaetitia Gangloff
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - sql_export
    - base_export_email
odoo/odoo:
    - email_template
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits base_export_email.view_server_action_form
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