diff --git a/sql_export_mail/README.rst b/sql_export_mail/README.rst index ba67e1e68..082cfcebc 100644 --- a/sql_export_mail/README.rst +++ b/sql_export_mail/README.rst @@ -2,10 +2,13 @@ SQL Export Mail =============== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7545ca6358f23ee0f98d8fa0d2610030bdce7d1dc9a2b1e241be5443612fcf1e + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ SQL Export Mail .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-sql_export_mail :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/143/16.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Allow to send the result of a query (made with the module sql_export) by mail. @@ -48,7 +51,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed +If you spotted it first, help us to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. diff --git a/sql_export_mail/__manifest__.py b/sql_export_mail/__manifest__.py index ac0bc5d82..371758df0 100644 --- a/sql_export_mail/__manifest__.py +++ b/sql_export_mail/__manifest__.py @@ -1,7 +1,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "SQL Export Mail", - "version": "16.0.1.0.1", + "version": "16.0.2.0.0", "category": "Generic Modules", "summary": "Send csv file generated by sql query by mail.", "author": "Akretion,GRAP,Odoo Community Association (OCA)", diff --git a/sql_export_mail/models/sql_export.py b/sql_export_mail/models/sql_export.py index be8d806d6..488b9381d 100644 --- a/sql_export_mail/models/sql_export.py +++ b/sql_export_mail/models/sql_export.py @@ -20,7 +20,12 @@ class SqlExport(models.Model): "need to link the sql query with a cron to send mail automatically", ) cron_ids = fields.Many2many( - "ir.cron", "cron_sqlquery_rel", "sql_id", "cron_id", "Crons" + "ir.cron", + "cron_sqlquery_rel", + "sql_id", + "cron_id", + "Crons", + groups="base.group_system", ) # We could implement other conditions, that is why it is a selection field mail_condition = fields.Selection( diff --git a/sql_export_mail/static/description/index.html b/sql_export_mail/static/description/index.html index e6288135f..3c50d3a35 100644 --- a/sql_export_mail/static/description/index.html +++ b/sql_export_mail/static/description/index.html @@ -1,20 +1,20 @@ - + - + SQL Export Mail