Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] event_mail: Migration to 14.0 #238

Merged
merged 10 commits into from
Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
93 changes: 93 additions & 0 deletions event_mail/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
==========
Event Mail
==========

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fevent-lightgray.png?logo=github
:target: https://github.com/OCA/event/tree/14.0/event_mail
:alt: OCA/event
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/event-14-0/event-14-0-event_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/199/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to define mail settings for events. By default the emails
scheduler has been deactivated.
You can create mail scheduler templates for events and select one by default
in event settings.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to *Events > Configuration > Mail Templates* and create all templates
that you need.
#. Go to *Events > Settings* and select the default template in
"Template Mail Scheduler" field.
#. Go to *Events > Events* and create one. All mails schedulers has been
created. Also you can select other template in "Mail Template Scheduler"
field on "Communication" tab.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/event/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/event/issues/new?body=module:%20event_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.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`__:

* Sergio Teruel
* David Vidal
* Ernesto Tejeda

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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/event <https://github.com/OCA/event/tree/14.0/event_mail>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions event_mail/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
20 changes: 20 additions & 0 deletions event_mail/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2017 Tecnativa - Sergio Teruel <sergio.teruel@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Event Mail",
"summary": "Mail settings in events",
"version": "14.0.1.0.0",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/event",
"category": "Marketing",
"depends": ["event"],
"data": [
"security/ir.model.access.csv",
"views/res_config_view.xml",
"views/event_view.xml",
"views/event_mail_view.xml",
],
"installable": True,
}
261 changes: 261 additions & 0 deletions event_mail/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * event_mail
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 10:06+0200\n"
"PO-Revision-Date: 2019-02-01 14:03+0000\n"
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.4\n"

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.res_config_settings_view_form
msgid ""
"<span class=\"o_form_label\">Template Mail Scheduler</span>\n"
" <span class=\"fa fa-lg fa-envelope\" title=\"Values "
"set here are company-specific.\" aria-label=\"Values set here are company-"
"specific.\" groups=\"base.group_multi_company\" role=\"img\"/>"
msgstr ""

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_type:0
msgid "After each registration"
msgstr ""

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_type:0
msgid "After the event"
msgstr ""

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_type:0
msgid "Before the event"
msgstr ""

#. module: event_mail
#: model:ir.model,name:event_mail.model_res_company
msgid "Companies"
msgstr ""

#. module: event_mail
#: model:ir.model,name:event_mail.model_res_config_settings
#, fuzzy
msgid "Config Settings"
msgstr "event.config.settings"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__create_uid
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__create_date
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__create_date
msgid "Created on"
msgstr "Creado el"

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_unit:0
msgid "Day(s)"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__display_name
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__sequence
#, fuzzy
msgid "Display order"
msgstr "Nombre a mostrar"

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.view_event_mail_template_form
msgid "Email Schedule"
msgstr "Programación de Correo Electrónico"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__template_id
#, fuzzy
msgid "Email Template"
msgstr "Plantilla de mail"

#. module: event_mail
#: model:ir.model,name:event_mail.model_event_event
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__event_id
msgid "Event"
msgstr "Evento"

#. module: event_mail
#: model:ir.model,name:event_mail.model_event_type
msgid "Event Category"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__event_mail_template_id
#: model_terms:ir.ui.view,arch_db:event_mail.view_event_mail_template_form
msgid "Event Mail Template"
msgstr "Plantilla de emails"

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_unit:0
msgid "Hour(s)"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__id
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__id
msgid "ID"
msgstr "ID"

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_unit:0
msgid "Immediately"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__interval_nbr
msgid "Interval"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template____last_update
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__write_uid
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__write_date
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__mail_registration_ids
#, fuzzy
msgid "Mail Registration"
msgstr "Opciones de correo"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__scheduler_template_ids
msgid "Mail Schedule"
msgstr "Programación de correo"

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.view_event_mail_template_form
msgid "Mail Scheduler"
msgstr "Programador de Correo Electrónico"

#. module: event_mail
#: model:ir.actions.act_window,name:event_mail.act_event_mail_template
msgid "Mail Scheduler Template"
msgstr "Plantilla de programación de correo"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__mail_sent
msgid "Mail Sent on Event"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_res_company__event_mail_template_id
#: model:ir.model.fields,field_description:event_mail.field_res_config_settings__event_mail_template_id
msgid "Mail Template"
msgstr "Plantilla de mail"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_event__event_mail_template_id
msgid "Mail Template Scheduler"
msgstr "Plantilla de programación de correo"

#. module: event_mail
#: model:ir.ui.menu,name:event_mail.menu_event_mail_template
msgid "Mail Templates"
msgstr "Plantillas de correo"

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.res_config_settings_view_form
msgid "Mail options"
msgstr "Opciones de correo"

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_unit:0
msgid "Month(s)"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_template__name
msgid "Name"
msgstr "Nombre"

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__scheduled_date
msgid "Scheduled Sent Mail"
msgstr ""

#. module: event_mail
#: model:ir.model,name:event_mail.model_event_mail_template
msgid "Scheduling templates for events"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__done
msgid "Sent"
msgstr ""

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.res_config_settings_view_form
#, fuzzy
msgid "Template"
msgstr "Plantilla de mail"

#. module: event_mail
#: model_terms:ir.ui.view,arch_db:event_mail.res_config_settings_view_form
msgid "Template Mail Scheduler"
msgstr "Plantilla de programación de correo"

#. module: event_mail
#: model:ir.model.fields,help:event_mail.field_event_mail_scheduler_template__template_id
msgid ""
"This field contains the template of the mail that will be automatically sent"
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__interval_type
msgid "Trigger "
msgstr ""

#. module: event_mail
#: model:ir.model.fields,field_description:event_mail.field_event_mail_scheduler_template__interval_unit
msgid "Unit"
msgstr ""

#. module: event_mail
#: selection:event.mail.scheduler.template,interval_unit:0
msgid "Week(s)"
msgstr ""

#. module: event_mail
#: model:ir.model,name:event_mail.model_event_mail_scheduler_template
msgid "event.mail.scheduler.template"
msgstr "event.mail.scheduler.template"

#~ msgid "event.mail.template"
#~ msgstr "event.mail.template"