SQL Export Mail
sql_export_mail · OCA/reporting-engine
OCA/server-tools 12.0–14.0 → OCA/reporting-engine 15.0–18.0
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 16 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.05 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
Description
Allow to send the result of a query (made with the module sql_export) by mail.
Dependencies
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 |
|---|---|---|---|---|
sql_export_mail_view_form |
sql.export | form | Inherits sql_export.sql_export_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (4)
-
cron_idsMany2many → ir.crongroups='base.group_system' args: 'ir.cron', 'cron_sqlquery_rel', 'sql_id', 'cron_id', 'Crons' -
mail_conditionSelectiondefault='not_empty' args: [('not_empty', 'File Not Empty')] -
mail_partner_idsMany2many → res.partnerhelp='Add the partners who wants to receive the report by e-mail. You need to link the sql query with a cron to send a mail automatically' args: 'res.partner', 'mail_partner_sqlquery_rel', 'sql_id', 'partner_id' -
mail_user_idsMany2many → res.usershelp='Add the users who want to receive the report by e-mail. You need to link the sql query with a cron to send mail automatically' args: 'res.users', 'mail_user_sqlquery_rel', 'sql_id', 'user_id', 'User to notify'
-
check_mail_user(self)@api.constrains('mail_user_ids') -
check_no_parameter_if_sent_by_mail(self)@api.constrains('query_properties_definition', 'mail_user_ids') -
create_cron(self) -
get_email_address_for_template(self)Called from mail template. Collects email addresses from both users and partners. -
send_mail(self, params=None)
Loading…
Loading…
Loading…
Loading…
Loading…