diff --git a/mail_full_expand/README.rst b/mail_full_expand/README.rst new file mode 100644 index 000000000..a9b6d2811 --- /dev/null +++ b/mail_full_expand/README.rst @@ -0,0 +1,97 @@ +================ +Mail full expand +================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/13.0/mail_full_expand + :alt: OCA/social +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_full_expand + :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/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module was written to extend the functionality of messaging to support +expanding messages in a big window and allow you to read its full content. + +Odoo automatically tries to remove blockquotes and signatures from received +mails. That is useful because it removes lots of distraction, but sometimes it +removes important information. + +Also, messages are narrow to fit in the conversations views, but sometimes you +receive a mail with predefined width and cannot read it. + +This module adds a button to all messages to read them in a floating window +with their full contents. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +* Go to any view with a message thread. +* Click the *Fully expand* button (two arrows indicating separate directions). + +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 +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* `Tecnativa `_: + + * Jairo Llopis + * Ernesto Tejeda + +* Chandresh Thakkar + +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 `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mail_full_expand/__init__.py b/mail_full_expand/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/mail_full_expand/__manifest__.py b/mail_full_expand/__manifest__.py new file mode 100644 index 000000000..f0b55fd1d --- /dev/null +++ b/mail_full_expand/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2014-2015 Grupo ESOC +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Mail full expand", + "summary": "Expand mail in a big window", + "version": "13.0.1.0.0", + "category": "Social Network", + "website": "https://github.com/OCA/social", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["mail", "web"], + "data": ["views/mail_full_expand.xml", "views/assets.xml"], + "qweb": ["static/src/xml/mail_full_expand.xml"], +} diff --git a/mail_full_expand/i18n/ca.po b/mail_full_expand/i18n/ca.po new file mode 100644 index 000000000..559f55a75 --- /dev/null +++ b/mail_full_expand/i18n/ca.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Missatge" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/de.po b/mail_full_expand/i18n/de.po new file mode 100644 index 000000000..940462d8b --- /dev/null +++ b/mail_full_expand/i18n/de.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 01:02+0000\n" +"PO-Revision-Date: 2017-05-17 01:02+0000\n" +"Last-Translator: OCA Transbot , 2017\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Nachricht" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/es.po b/mail_full_expand/i18n/es.po new file mode 100644 index 000000000..594e4f27f --- /dev/null +++ b/mail_full_expand/i18n/es.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Mensaje" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Leer correo completo" diff --git a/mail_full_expand/i18n/es_CO.po b/mail_full_expand/i18n/es_CO.po new file mode 100644 index 000000000..635dec79c --- /dev/null +++ b/mail_full_expand/i18n/es_CO.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Mensaje" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/fr.po b/mail_full_expand/i18n/fr.po new file mode 100644 index 000000000..c11437167 --- /dev/null +++ b/mail_full_expand/i18n/fr.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 2016 +# Quentin THEURET , 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 , 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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "Complètement agrandi" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Message" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Lire la totalité du courriel" diff --git a/mail_full_expand/i18n/hr.po b/mail_full_expand/i18n/hr.po new file mode 100644 index 000000000..db8f2bfa3 --- /dev/null +++ b/mail_full_expand/i18n/hr.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# Bole , 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: Bole , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "Potpuno prošireno" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Poruka" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Pročitaj puni email" diff --git a/mail_full_expand/i18n/it.po b/mail_full_expand/i18n/it.po new file mode 100644 index 000000000..6d9bd8561 --- /dev/null +++ b/mail_full_expand/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 2016 +# Marius Marolla , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-17 01:02+0000\n" +"PO-Revision-Date: 2017-05-17 01:02+0000\n" +"Last-Translator: Marius Marolla , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "Espandi Tutto" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Messaggio" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Leggi Tutto" diff --git a/mail_full_expand/i18n/mail_full_expand.pot b/mail_full_expand/i18n/mail_full_expand.pot new file mode 100644 index 000000000..58c53aef0 --- /dev/null +++ b/mail_full_expand/i18n/mail_full_expand.pot @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" + diff --git a/mail_full_expand/i18n/nb.po b/mail_full_expand/i18n/nb.po new file mode 100644 index 000000000..ea31709b1 --- /dev/null +++ b/mail_full_expand/i18n/nb.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 2016\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: nb\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Melding" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/nl.po b/mail_full_expand/i18n/nl.po new file mode 100644 index 000000000..a0e5fddde --- /dev/null +++ b/mail_full_expand/i18n/nl.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 2016\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Bericht" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/nl_NL.po b/mail_full_expand/i18n/nl_NL.po new file mode 100644 index 000000000..499b900af --- /dev/null +++ b/mail_full_expand/i18n/nl_NL.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-20 08:36+0000\n" +"PO-Revision-Date: 2017-05-20 08:36+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Bericht" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/pt.po b/mail_full_expand/i18n/pt.po new file mode 100644 index 000000000..3eefbeec7 --- /dev/null +++ b/mail_full_expand/i18n/pt.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# Pedro Castro Silva , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-02 13:17+0000\n" +"PO-Revision-Date: 2017-12-02 13:17+0000\n" +"Last-Translator: Pedro Castro Silva , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Mensagem" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/pt_BR.po b/mail_full_expand/i18n/pt_BR.po new file mode 100644 index 000000000..6e58b46c0 --- /dev/null +++ b/mail_full_expand/i18n/pt_BR.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: 2019-09-03 03:23+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" +"Language: pt_BR\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" +"X-Generator: Weblate 3.8\n" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "Fechar" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "Expandido Completamente" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Mensagem" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Ler E-mail Completo" diff --git a/mail_full_expand/i18n/sl.po b/mail_full_expand/i18n/sl.po new file mode 100644 index 000000000..d54e942d3 --- /dev/null +++ b/mail_full_expand/i18n/sl.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: 2020-03-19 10:13+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.10\n" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "Zapri" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "Povsem razširi" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "Sporočilo" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "Preberi celotno sporočilo" diff --git a/mail_full_expand/i18n/tr.po b/mail_full_expand/i18n/tr.po new file mode 100644 index 000000000..b9e652aa3 --- /dev/null +++ b/mail_full_expand/i18n/tr.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 2016\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "İleti" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/i18n/tr_TR.po b/mail_full_expand/i18n/tr_TR.po new file mode 100644 index 000000000..2d42d5819 --- /dev/null +++ b/mail_full_expand/i18n/tr_TR.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_full_expand +# +# Translators: +# OCA Transbot , 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: OCA Transbot , 2016\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Close" +msgstr "" + +#. module: mail_full_expand +#. openerp-web +#: code:addons/mail_full_expand/static/src/xml/mail_full_expand.xml:10 +#, python-format +msgid "Fully Expand" +msgstr "" + +#. module: mail_full_expand +#: model_terms:ir.ui.view,arch_db:mail_full_expand.mail_message_view_form +msgid "Message" +msgstr "İleti" + +#. module: mail_full_expand +#: model:ir.actions.act_window,name:mail_full_expand.mail_message_action +msgid "Read Full Email" +msgstr "" diff --git a/mail_full_expand/readme/CONTRIBUTORS.rst b/mail_full_expand/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..9fb7940fa --- /dev/null +++ b/mail_full_expand/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* `Tecnativa `_: + + * Jairo Llopis + * Ernesto Tejeda + +* Chandresh Thakkar diff --git a/mail_full_expand/readme/DESCRIPTION.rst b/mail_full_expand/readme/DESCRIPTION.rst new file mode 100644 index 000000000..de3b174bd --- /dev/null +++ b/mail_full_expand/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This module was written to extend the functionality of messaging to support +expanding messages in a big window and allow you to read its full content. + +Odoo automatically tries to remove blockquotes and signatures from received +mails. That is useful because it removes lots of distraction, but sometimes it +removes important information. + +Also, messages are narrow to fit in the conversations views, but sometimes you +receive a mail with predefined width and cannot read it. + +This module adds a button to all messages to read them in a floating window +with their full contents. diff --git a/mail_full_expand/readme/USAGE.rst b/mail_full_expand/readme/USAGE.rst new file mode 100644 index 000000000..87cc8f3b2 --- /dev/null +++ b/mail_full_expand/readme/USAGE.rst @@ -0,0 +1,4 @@ +To use this module, you need to: + +* Go to any view with a message thread. +* Click the *Fully expand* button (two arrows indicating separate directions). diff --git a/mail_full_expand/static/description/icon.png b/mail_full_expand/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/mail_full_expand/static/description/icon.png differ diff --git a/mail_full_expand/static/description/index.html b/mail_full_expand/static/description/index.html new file mode 100644 index 000000000..4788ecd04 --- /dev/null +++ b/mail_full_expand/static/description/index.html @@ -0,0 +1,441 @@ + + + + + + +Mail full expand + + + +
+

Mail full expand

+ + +

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runbot

+

This module was written to extend the functionality of messaging to support +expanding messages in a big window and allow you to read its full content.

+

Odoo automatically tries to remove blockquotes and signatures from received +mails. That is useful because it removes lots of distraction, but sometimes it +removes important information.

+

Also, messages are narrow to fit in the conversations views, but sometimes you +receive a mail with predefined width and cannot read it.

+

This module adds a button to all messages to read them in a floating window +with their full contents.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Go to any view with a message thread.
  • +
  • Click the Fully expand button (two arrows indicating separate directions).
  • +
+
+
+

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 +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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 project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/mail_full_expand/static/src/js/mail_full_expand.js b/mail_full_expand/static/src/js/mail_full_expand.js new file mode 100644 index 000000000..452205cdb --- /dev/null +++ b/mail_full_expand/static/src/js/mail_full_expand.js @@ -0,0 +1,32 @@ +/* Copyright 2014-2015 Grupo ESOC + * License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + */ +odoo.define('mail_full_expand.expand', function (require) { + "use strict"; + + var ThreadWidget = require('mail.widget.Thread'); + + ThreadWidget.include({ + events: _.defaults({ + "click .o_full_expand": "_onClickMessageFullExpand", + }, ThreadWidget.prototype.events), + + _onClickMessageFullExpand: function (event) { + // Get the action data and execute it to open the full view + var do_action = this.do_action, + msg_id = $(event.currentTarget).data('message-id'); + + this._rpc({ + route: "/web/action/load", + params: { + action_id: "mail_full_expand.mail_message_action", + }, + }) + .then(function (action) { + action.res_id = msg_id; + do_action(action); + }); + }, + }); + +}); diff --git a/mail_full_expand/static/src/scss/mail_full_expand.scss b/mail_full_expand/static/src/scss/mail_full_expand.scss new file mode 100644 index 000000000..1df8d906d --- /dev/null +++ b/mail_full_expand/static/src/scss/mail_full_expand.scss @@ -0,0 +1,25 @@ +/* Copyright 2014-2015 Grupo ESOC + * License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + */ + +.o_mail_thread .o_thread_message { + .o_full_expand { + cursor: pointer; + opacity: 0; + margin-right: -5px; + padding: 4px; + } + + &.o_thread_selected_message .o_full_expand { + opacity: 0.6; + } + + &:hover { + .o_full_expand { + opacity: 0.6; + &:hover { + opacity: 1; + } + } + } +} diff --git a/mail_full_expand/static/src/xml/mail_full_expand.xml b/mail_full_expand/static/src/xml/mail_full_expand.xml new file mode 100644 index 000000000..d5c887874 --- /dev/null +++ b/mail_full_expand/static/src/xml/mail_full_expand.xml @@ -0,0 +1,11 @@ + + + diff --git a/mail_full_expand/views/assets.xml b/mail_full_expand/views/assets.xml new file mode 100644 index 000000000..fa32d1c83 --- /dev/null +++ b/mail_full_expand/views/assets.xml @@ -0,0 +1,10 @@ + + + +