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

[16.0][MIG] mail_ as_letter #1427

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions mail_as_letter/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==============
Mail As Letter
==============

This module allows to download a mail message as a pdf letter with formal layout.

Usage
=====

To use this module, you need to:

#. Write a new email from the mail composer
#. Click on the print button to download the email as a pdf file

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/205/10.0

.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/social/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.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Thomas Binsfeld <[email protected]>

Maintainer
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
1 change: 1 addition & 0 deletions mail_as_letter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
16 changes: 16 additions & 0 deletions mail_as_letter/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2016 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Mail As Letter",
"summary": """
This module allows to download a mail message as a pdf letter.""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"depends": ["mail"],
"data": ["wizards/mail_compose_message.xml", "report/mail_as_letter_qweb.xml"],
"demo": [],
"installable": True,
}
55 changes: 55 additions & 0 deletions mail_as_letter/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_as_letter
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-16 07:08+0000\n"
"PO-Revision-Date: 2016-09-02 00:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Download Letter"
msgstr ""

#. module: mail_as_letter
#: model:ir.model,name:mail_as_letter.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent per composició de correus electrònics"

#. module: mail_as_letter
#: model:ir.actions.report,name:mail_as_letter.qweb_mail_pdf_export
msgid "Mail as Letter"
msgstr ""

#. module: mail_as_letter
#: model:ir.model.fields,field_description:mail_as_letter.field_mail_compose_message__partner_count
msgid "Number of partners"
msgstr ""

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Save as a PDF file"
msgstr ""

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_print
msgid "Subject :"
msgstr ""

#. module: mail_as_letter
#: code:addons/mail_as_letter/wizards/mail_compose_message.py:0
#, python-format
msgid "There must be only one recipient."
msgstr ""
57 changes: 57 additions & 0 deletions mail_as_letter/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_as_letter
#
# Translators:
# OCA Transbot <[email protected]>, 2016
# Niki Waibel <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-16 07:08+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: Niki Waibel <[email protected]>, 2016\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Download Letter"
msgstr "Brief herunterladen"

#. module: mail_as_letter
#: model:ir.model,name:mail_as_letter.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent zum Email verfassen"

#. module: mail_as_letter
#: model:ir.actions.report,name:mail_as_letter.qweb_mail_pdf_export
#, fuzzy
msgid "Mail as Letter"
msgstr "mail_as_letter"

#. module: mail_as_letter
#: model:ir.model.fields,field_description:mail_as_letter.field_mail_compose_message__partner_count
msgid "Number of partners"
msgstr "Anzahl der Partner"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Save as a PDF file"
msgstr "Als PDF-Datei speichern"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_print
msgid "Subject :"
msgstr "Betreff:"

#. module: mail_as_letter
#: code:addons/mail_as_letter/wizards/mail_compose_message.py:0
#, python-format
msgid "There must be only one recipient."
msgstr "Es darf nur ein Empfänger vorhanden sein."
57 changes: 57 additions & 0 deletions mail_as_letter/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_as_letter
#
# Translators:
# OCA Transbot <[email protected]>, 2016
# Pedro M. Baeza <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-16 07:08+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: Pedro M. Baeza <[email protected]>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Download Letter"
msgstr "Descargar carta"

#. module: mail_as_letter
#: model:ir.model,name:mail_as_letter.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente composición Correo Electrónico"

#. module: mail_as_letter
#: model:ir.actions.report,name:mail_as_letter.qweb_mail_pdf_export
#, fuzzy
msgid "Mail as Letter"
msgstr "mail_as_letter"

#. module: mail_as_letter
#: model:ir.model.fields,field_description:mail_as_letter.field_mail_compose_message__partner_count
msgid "Number of partners"
msgstr "Número de empresas"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Save as a PDF file"
msgstr "Guardar como un archivo PDF"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_print
msgid "Subject :"
msgstr "Asunto:"

#. module: mail_as_letter
#: code:addons/mail_as_letter/wizards/mail_compose_message.py:0
#, python-format
msgid "There must be only one recipient."
msgstr "Debe haber sólo un destinatario."
56 changes: 56 additions & 0 deletions mail_as_letter/i18n/es_CO.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_as_letter
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-16 07:08+0000\n"
"PO-Revision-Date: 2016-09-02 00:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/"
"es_CO/)\n"
"Language: es_CO\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Download Letter"
msgstr ""

#. module: mail_as_letter
#: model:ir.model,name:mail_as_letter.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente de redacción de E-mail"

#. module: mail_as_letter
#: model:ir.actions.report,name:mail_as_letter.qweb_mail_pdf_export
msgid "Mail as Letter"
msgstr ""

#. module: mail_as_letter
#: model:ir.model.fields,field_description:mail_as_letter.field_mail_compose_message__partner_count
msgid "Number of partners"
msgstr ""

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Save as a PDF file"
msgstr ""

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_print
msgid "Subject :"
msgstr ""

#. module: mail_as_letter
#: code:addons/mail_as_letter/wizards/mail_compose_message.py:0
#, python-format
msgid "There must be only one recipient."
msgstr ""
57 changes: 57 additions & 0 deletions mail_as_letter/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_as_letter
#
# Translators:
# OCA Transbot <[email protected]>, 2016
# leemannd <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-16 07:08+0000\n"
"PO-Revision-Date: 2016-12-14 19:07+0000\n"
"Last-Translator: leemannd <[email protected]>, 2016\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Download Letter"
msgstr "Télécharger la lettre"

#. module: mail_as_letter
#: model:ir.model,name:mail_as_letter.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistant de composition de courriel"

#. module: mail_as_letter
#: model:ir.actions.report,name:mail_as_letter.qweb_mail_pdf_export
#, fuzzy
msgid "Mail as Letter"
msgstr "Télécharger la lettre"

#. module: mail_as_letter
#: model:ir.model.fields,field_description:mail_as_letter.field_mail_compose_message__partner_count
msgid "Number of partners"
msgstr "Nombre de partenaires"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_compose_message_form_view
msgid "Save as a PDF file"
msgstr "Sauver au format PDF"

#. module: mail_as_letter
#: model_terms:ir.ui.view,arch_db:mail_as_letter.mail_print
msgid "Subject :"
msgstr "Sujet:"

#. module: mail_as_letter
#: code:addons/mail_as_letter/wizards/mail_compose_message.py:0
#, python-format
msgid "There must be only one recipient."
msgstr "Il ne peut y avoir qu'un seul destinataire."
Loading
Loading