Skip to content

Commit

Permalink
Merge PR #976 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by sbidoul
  • Loading branch information
OCA-git-bot committed Jan 19, 2023
2 parents b156b73 + c4bd2b4 commit d2991ee
Show file tree
Hide file tree
Showing 30 changed files with 1,320 additions and 0 deletions.
99 changes: 99 additions & 0 deletions mail_attach_existing_attachment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
===============================
Mail Attach Existing Attachment
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/16.0/mail_attach_existing_attachment
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_attach_existing_attachment
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/205/16.0
:alt: Try me on Runbot

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

This module was written to add the possibility to add attachments located on
the object by sending it by email with the mail compose message wizard

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

* Adding some attachments on an object by creating a new *Log note*

.. figure:: https://raw.githubusercontent.com/OCA/social/16.0/mail_attach_existing_attachment/static/description/attachment.png
:alt: Attachment on purchase order

* Then, by sending the object via email, you can select the attachment added earlier

.. figure:: https://raw.githubusercontent.com/OCA/social/16.0/mail_attach_existing_attachment/static/description/ex_mail_compose_message.png
:alt: Sends the Purchase Order by email

Known issues / Roadmap
======================

* The module only allows the addition of attachments linked to the object.

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 <https://github.com/OCA/social/issues/new?body=module:%20mail_attach_existing_attachment%0Aversion:%2016.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
~~~~~~~

* ACSONE SA/NV
* Tecnativa

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

* Adrien Peiffer <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Sergio Teruel
* 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/social <https://github.com/OCA/social/tree/16.0/mail_attach_existing_attachment>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mail_attach_existing_attachment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizard
15 changes: 15 additions & 0 deletions mail_attach_existing_attachment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2015 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Mail Attach Existing Attachment",
"summary": "Adding attachment on the object by sending this one",
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social Network",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["mail"],
"data": ["wizard/mail_compose_message_view.xml"],
"installable": True,
}
53 changes: 53 additions & 0 deletions mail_attach_existing_attachment/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_attach_existing_attachment
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-13 02:44+0000\n"
"PO-Revision-Date: 2016-06-12 23:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-social-9-0/language/"
"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_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__can_attach_attachment
msgid "Can Attach Attachment"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__display_name
msgid "Display Name"
msgstr ""

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

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__id
msgid "ID"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message____last_update
msgid "Last Modified on"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__object_attachment_ids
msgid "Object Attachments"
msgstr ""
55 changes: 55 additions & 0 deletions mail_attach_existing_attachment/i18n/de.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_attach_existing_attachment
#
# 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: 2016-11-29 14:24+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_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__can_attach_attachment
msgid "Can Attach Attachment"
msgstr "Kann Anhang anhängen"

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__display_name
msgid "Display Name"
msgstr ""

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

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__id
msgid "ID"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message____last_update
msgid "Last Modified on"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__object_attachment_ids
#, fuzzy
msgid "Object Attachments"
msgstr "Anhänge"
55 changes: 55 additions & 0 deletions mail_attach_existing_attachment/i18n/es.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_attach_existing_attachment
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Pedro M. Baeza <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-01 02:19+0000\n"
"PO-Revision-Date: 2017-12-01 02:19+0000\n"
"Last-Translator: Pedro M. Baeza <[email protected]>, 2017\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_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__can_attach_attachment
msgid "Can Attach Attachment"
msgstr "Puede adjuntar adjuntos"

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__display_name
msgid "Display Name"
msgstr ""

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

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__id
msgid "ID"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message____last_update
msgid "Last Modified on"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__object_attachment_ids
#, fuzzy
msgid "Object Attachments"
msgstr "Adjuntos"
53 changes: 53 additions & 0 deletions mail_attach_existing_attachment/i18n/es_CO.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_attach_existing_attachment
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-13 02:44+0000\n"
"PO-Revision-Date: 2016-06-12 23:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (Colombia) (http://www.transifex.com/oca/OCA-"
"social-9-0/language/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_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__can_attach_attachment
msgid "Can Attach Attachment"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__display_name
msgid "Display Name"
msgstr ""

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

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__id
msgid "ID"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message____last_update
msgid "Last Modified on"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__object_attachment_ids
msgid "Object Attachments"
msgstr ""
55 changes: 55 additions & 0 deletions mail_attach_existing_attachment/i18n/fr.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_attach_existing_attachment
#
# Translators:
# OCA Transbot <[email protected]>, 2016
# Quentin THEURET <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-22 09:45+0000\n"
"PO-Revision-Date: 2017-07-22 09:45+0000\n"
"Last-Translator: Quentin THEURET <[email protected]>, 2017\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_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__can_attach_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__can_attach_attachment
msgid "Can Attach Attachment"
msgstr "Il est possible d'attacher des pièces jointes"

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__display_name
msgid "Display Name"
msgstr ""

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

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__id
msgid "ID"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message____last_update
msgid "Last Modified on"
msgstr ""

#. module: mail_attach_existing_attachment
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_invoice_send__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_account_tour_upload_bill__object_attachment_ids
#: model:ir.model.fields,field_description:mail_attach_existing_attachment.field_mail_compose_message__object_attachment_ids
#, fuzzy
msgid "Object Attachments"
msgstr "Pièces jointes"
Loading

0 comments on commit d2991ee

Please sign in to comment.