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

TA#26490 Add archive button in mail template #55

Merged
merged 3 commits into from
Aug 27, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'mail_message_from_author',
'mail_notification_no_footer',
'mail_recipient_unchecked',
'mail_template_archive',
'note_no_default_stage',
'private_data_group',
'queue_job_auto_requeue',
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ COPY mail_follower_picker /mnt/extra-addons/mail_follower_picker
COPY mail_message_from_author /mnt/extra-addons/mail_message_from_author
COPY mail_notification_no_footer /mnt/extra-addons/mail_notification_no_footer
COPY mail_recipient_unchecked /mnt/extra-addons/mail_recipient_unchecked
COPY mail_template_archive /mnt/extra-addons/mail_template_archive
COPY note_no_default_stage /mnt/extra-addons/note_no_default_stage
COPY private_data_group /mnt/extra-addons/private_data_group
COPY queue_job_auto_requeue /mnt/extra-addons/queue_job_auto_requeue
Expand Down
28 changes: 28 additions & 0 deletions mail_template_archive/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Mail Enable Archive
===================
This module enables the 'Archive' smart button in the view form of a mail template.
Furthermore, it adds two filters in the search view: 'Archived' and 'Active'.

.. contents:: Table of Contents

Form View
----------

The 'Archive' button can be found in the view form of a mail template.

.. image:: static/description/form_view_smart_button.png

Search View
------------

The 'Archived' and 'Active' filters are in the search view.

.. image:: static/description/search_view_filter.png

Contributors
------------
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)

More information
----------------
* Meet us at https://bit.ly/numigi-com
4 changes: 4 additions & 0 deletions mail_template_archive/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2020 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from . import models
20 changes: 20 additions & 0 deletions mail_template_archive/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# © 2020 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
'name': 'Mail Enable Archive',
'version': '1.2.0',
'author': 'Numigi',
'maintainer': 'Numigi',
'website': 'https://www.numigi.com',
'license': 'LGPL-3',
'category': 'Base',
'summary': 'A base module to enable mail archiving',
'depends': [
'base',
'mail',
],
'data': [
'views/mail_template.xml',
],
}
Loading