mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] sql_export_mail: Migration to 14.0
[UPD] Update sql_export_mail.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-sql_export_mail Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-sql_export_mail/ [UPD] Update sql_export_mail.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-sql_export_mail Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-sql_export_mail/ [UPD] Update sql_export_mail.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-tools-14.0/server-tools-14.0-sql_export_mail Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-sql_export_mail/
This commit is contained in:
committed by
Sander Lienaerts
parent
b04c585d7e
commit
d25dfc2aff
@@ -14,13 +14,13 @@ SQL Export Mail
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/server-tools/tree/12.0/sql_export_mail
|
||||
:target: https://github.com/OCA/server-tools/tree/14.0/sql_export_mail
|
||||
:alt: OCA/server-tools
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_export_mail
|
||||
:target: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-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/149/12.0
|
||||
:target: https://runbot.odoo-community.org/runbot/149/14.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
@@ -49,7 +49,7 @@ Bug Tracker
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/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
|
||||
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20sql_export_mail%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20sql_export_mail%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
@@ -65,6 +65,7 @@ Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Florian da Costa <florian.dacosta@akretion.com>
|
||||
* Helly kapatel <helly.kapatel@initos.com>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
@@ -79,6 +80,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/12.0/sql_export_mail>`_ project on GitHub.
|
||||
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/14.0/sql_export_mail>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "SQL Export Mail",
|
||||
"version": "12.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"category": "Generic Modules",
|
||||
"summary": "Send csv file generated by sql query by mail.",
|
||||
"author": "Akretion, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/server-tools",
|
||||
"depends": [
|
||||
"sql_export",
|
||||
"mail",
|
||||
],
|
||||
"depends": ["sql_export", "mail"],
|
||||
"license": "AGPL-3",
|
||||
"data": [
|
||||
"views/sql_export_view.xml",
|
||||
|
||||
@@ -19,17 +19,6 @@ msgstr ""
|
||||
#. module: sql_export_mail
|
||||
#: model:mail.template,body_html:sql_export_mail.sql_export_mailer
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "\n"
|
||||
#| "<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-"
|
||||
#| "serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "
|
||||
#| "\">\n"
|
||||
#| "\n"
|
||||
#| "<p>You will find the report ${object.name or ''} as an attachment of the "
|
||||
#| "mail.</p>\n"
|
||||
#| "\n"
|
||||
#| "</div>\n"
|
||||
#| " "
|
||||
msgid ""
|
||||
"\n"
|
||||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-"
|
||||
@@ -65,6 +54,31 @@ msgstr ""
|
||||
"Ajoutez les utilisateurs voulant recevoir le rapport par mail. Vous devez "
|
||||
"ensuite créer une tâche planifiée pour envoyer le mail automatiquement."
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__assigned_attachment_ids
|
||||
msgid "Assigned Attachments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__changeset_change_ids
|
||||
msgid "Changeset Changes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__changeset_ids
|
||||
msgid "Changesets"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__count_pending_changeset_changes
|
||||
msgid "Count Pending Changeset Changes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__count_pending_changesets
|
||||
msgid "Count Pending Changesets"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model_terms:ir.ui.view,arch_db:sql_export_mail.sql_export_mail_view_form
|
||||
msgid "Create Cron"
|
||||
@@ -77,12 +91,22 @@ msgid "Crons"
|
||||
msgstr "Tâches planifiées"
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: selection:sql.export,mail_condition:0
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields.selection,name:sql_export_mail.selection__sql_export__mail_condition__not_empty
|
||||
msgid "File Not Empty"
|
||||
msgstr "Fichier non vide."
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:124
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"It is not possible to execute and send a query automatically by mail if "
|
||||
@@ -91,10 +115,14 @@ msgstr ""
|
||||
"Il n'est pas possible d'exécuter en envoyer le résultat d'une requête par "
|
||||
"mail si celle-ci contient des paramètres."
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__mail_condition
|
||||
#, fuzzy
|
||||
#| msgid "Mail condition"
|
||||
msgid "Mail Condition"
|
||||
msgstr "Condition d'envoi par mail"
|
||||
|
||||
@@ -104,11 +132,21 @@ msgid "SQL export"
|
||||
msgstr "Export SQL"
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:134
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__smart_search
|
||||
msgid "Smart Search"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:0
|
||||
#, python-format
|
||||
msgid "The user does not have any e-mail address."
|
||||
msgstr "L'utilisateur selectionné n'a pas d'addresse mail."
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__user_can_see_changeset
|
||||
msgid "User Can See Changeset"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__mail_user_ids
|
||||
msgid "User to notify"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sql_export_mail
|
||||
# * sql_export_mail
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -15,7 +15,8 @@ msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:mail.template,body_html:sql_export_mail.sql_export_mailer
|
||||
msgid "\n"
|
||||
msgid ""
|
||||
"\n"
|
||||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
|
||||
"\n"
|
||||
"<p>You will find the report ${object.name or ''} as an attachment of the mail.</p>\n"
|
||||
@@ -31,7 +32,34 @@ msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,help:sql_export_mail.field_sql_export__mail_user_ids
|
||||
msgid "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"
|
||||
msgid ""
|
||||
"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"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__assigned_attachment_ids
|
||||
msgid "Assigned Attachments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__changeset_change_ids
|
||||
msgid "Changeset Changes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__changeset_ids
|
||||
msgid "Changesets"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__count_pending_changeset_changes
|
||||
msgid "Count Pending Changeset Changes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__count_pending_changesets
|
||||
msgid "Count Pending Changesets"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
@@ -46,14 +74,31 @@ msgid "Crons"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: selection:sql.export,mail_condition:0
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields.selection,name:sql_export_mail.selection__sql_export__mail_condition__not_empty
|
||||
msgid "File Not Empty"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:124
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:0
|
||||
#, python-format
|
||||
msgid "It is not possible to execute and send a query automatically by mail if there are parameters to fill"
|
||||
msgid ""
|
||||
"It is not possible to execute and send a query automatically by mail if "
|
||||
"there are parameters to fill"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
@@ -67,11 +112,21 @@ msgid "SQL export"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:134
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__smart_search
|
||||
msgid "Smart Search"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: code:addons/sql_export_mail/models/sql_export.py:0
|
||||
#, python-format
|
||||
msgid "The user does not have any e-mail address."
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__user_can_see_changeset
|
||||
msgid "User Can See Changeset"
|
||||
msgstr ""
|
||||
|
||||
#. module: sql_export_mail
|
||||
#: model:ir.model.fields,field_description:sql_export_mail.field_sql_export__mail_user_ids
|
||||
msgid "User to notify"
|
||||
@@ -81,4 +136,3 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:sql_export_mail.sql_export_mail_view_form
|
||||
msgid "Users Notified by e-mail"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ from datetime import datetime, timedelta
|
||||
|
||||
from odoo import SUPERUSER_ID, _, api, fields, models
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
|
||||
|
||||
|
||||
class SqlExport(models.Model):
|
||||
@@ -28,7 +27,6 @@ class SqlExport(models.Model):
|
||||
[("not_empty", "File Not Empty")], default="not_empty"
|
||||
)
|
||||
|
||||
@api.multi
|
||||
def create_cron(self):
|
||||
self.ensure_one()
|
||||
nextcall = datetime.now() + timedelta(hours=2)
|
||||
@@ -51,11 +49,9 @@ class SqlExport(models.Model):
|
||||
cron.write(write_vals)
|
||||
self.write({"cron_ids": [(4, cron.id)]})
|
||||
|
||||
@api.multi
|
||||
def send_mail(self, params=None):
|
||||
self.ensure_one()
|
||||
mail_template = self.env.ref("sql_export_mail.sql_export_mailer")
|
||||
now_time = datetime.strftime(datetime.now(), DEFAULT_SERVER_DATETIME_FORMAT)
|
||||
attach_obj = self.env["ir.attachment"]
|
||||
if self.mail_condition == "not_empty":
|
||||
res = self._execute_sql_request(params=params, mode="fetchone")
|
||||
@@ -78,8 +74,7 @@ class SqlExport(models.Model):
|
||||
msg_id = mail_template.send_mail(self.id, force_send=False)
|
||||
mail = self.env["mail.mail"].browse(msg_id)
|
||||
attach_vals = {
|
||||
"name": now_time + " - " + self.name,
|
||||
"datas_fname": filename,
|
||||
"name": filename,
|
||||
"datas": binary,
|
||||
"res_model": "mail.mail",
|
||||
"res_id": mail.id,
|
||||
@@ -115,7 +110,6 @@ class SqlExport(models.Model):
|
||||
else:
|
||||
export.send_mail()
|
||||
|
||||
@api.multi
|
||||
@api.constrains("field_ids", "mail_user_ids")
|
||||
def check_no_parameter_if_sent_by_mail(self):
|
||||
for export in self:
|
||||
@@ -127,7 +121,6 @@ class SqlExport(models.Model):
|
||||
)
|
||||
)
|
||||
|
||||
@api.multi
|
||||
@api.constrains("mail_user_ids")
|
||||
def check_mail_user(self):
|
||||
for export in self:
|
||||
@@ -135,7 +128,6 @@ class SqlExport(models.Model):
|
||||
if not user.email:
|
||||
raise UserError(_("The user does not have any e-mail address."))
|
||||
|
||||
@api.multi
|
||||
def get_email_address_for_template(self):
|
||||
"""
|
||||
Called from mail template
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
* Florian da Costa <florian.dacosta@akretion.com>
|
||||
* Helly kapatel <helly.kapatel@initos.com>
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-tools/tree/12.0/sql_export_mail"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_export_mail"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/149/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/sql_export_mail"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-sql_export_mail"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/149/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>Allow to send the result of a query (made with the module sql_export) by mail.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
@@ -398,7 +398,7 @@ use it again for other queries</li>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20sql_export_mail%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20sql_export_mail%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
@@ -413,6 +413,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Florian da Costa <<a class="reference external" href="mailto:florian.dacosta@akretion.com">florian.dacosta@akretion.com</a>></li>
|
||||
<li>Helly kapatel <<a class="reference external" href="mailto:helly.kapatel@initos.com">helly.kapatel@initos.com</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
@@ -422,7 +423,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/12.0/sql_export_mail">OCA/server-tools</a> project on GitHub.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/sql_export_mail">OCA/server-tools</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<field
|
||||
name="cron_ids"
|
||||
nolabel="1"
|
||||
domain="[('function', '=', '_run_all_sql_export_for_cron')]"
|
||||
domain="[('model_id', '=', 'sql.export')]"
|
||||
groups="base.group_system"
|
||||
/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user