diff --git a/mail_all/README.rst b/mail_all/README.rst new file mode 100644 index 0000000..c2d7ab7 --- /dev/null +++ b/mail_all/README.rst @@ -0,0 +1,16 @@ +=================== + Show all messages +=================== + +Adds ``Messaging / All messages`` menu, that shows all messages accesable by current user + +Further information +------------------- + +HTML Description: https://apps.odoo.com/apps/modules/8.0/mail_all/ + +Usage instructions: ``_ + +Changelog: ``_ + +Tested on Odoo 8.0 0af32f3f84bae07b11abb8538d02e35c7369a348 diff --git a/mail_all/__init__.py b/mail_all/__init__.py new file mode 100644 index 0000000..5305644 --- /dev/null +++ b/mail_all/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import models \ No newline at end of file diff --git a/mail_all/__openerp__.py b/mail_all/__openerp__.py new file mode 100644 index 0000000..7805763 --- /dev/null +++ b/mail_all/__openerp__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +{ + "name": "Show all messages", + "summary": """Checkout all messages where you have access""", + "category": "Social Network", + "images": ['images/1.png'], + "version": "1.0.0", + + "author": "IT-Projects LLC, Pavel Romanchenko", + "website": "https://it-projects.info", + "license": "GPL-3", + "price": 40.00, + "currency": "EUR", + + "depends": [ + "mail", + ], + "external_dependencies": {"python": [], "bin": []}, + "data": [ + "views/templates.xml", + ], + "demo": [], + "post_load": None, + "pre_init_hook": None, + "post_init_hook": None, + "installable": True, + "auto_install": False, +} diff --git a/mail_all/doc/changelog.rst b/mail_all/doc/changelog.rst new file mode 100644 index 0000000..e2b0277 --- /dev/null +++ b/mail_all/doc/changelog.rst @@ -0,0 +1,7 @@ +Changelog +========= + +`1.0.0` +------- + +- Init version diff --git a/mail_all/doc/index.rst b/mail_all/doc/index.rst new file mode 100644 index 0000000..3faa3ba --- /dev/null +++ b/mail_all/doc/index.rst @@ -0,0 +1,9 @@ +=================== + Show all messages +=================== + +Usage +===== + +* Open menu ``Messaging / All messages`` +* You see all messages diff --git a/mail_all/images/1.png b/mail_all/images/1.png new file mode 100644 index 0000000..3a3b4cb Binary files /dev/null and b/mail_all/images/1.png differ diff --git a/mail_all/models/__init__.py b/mail_all/models/__init__.py new file mode 100644 index 0000000..40a96af --- /dev/null +++ b/mail_all/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/mail_all/static/description/1.png b/mail_all/static/description/1.png new file mode 100644 index 0000000..3a3b4cb Binary files /dev/null and b/mail_all/static/description/1.png differ diff --git a/mail_all/static/description/icon.png b/mail_all/static/description/icon.png new file mode 100644 index 0000000..79f7d8f Binary files /dev/null and b/mail_all/static/description/icon.png differ diff --git a/mail_all/static/description/index.html b/mail_all/static/description/index.html new file mode 100644 index 0000000..3a355d5 --- /dev/null +++ b/mail_all/static/description/index.html @@ -0,0 +1,32 @@ +
+
+
+

Show all messages

+

Checkout all messages where you have access

+
+
+
+

+ The module adds usual menu, that shows all messages. It differs from Arhives, because it also shows messages, which doesn't have current User as a participant. Example for Administrator: +

+
+
+ +
+
+
+
+ +
+
+ +
+
diff --git a/mail_all/views/templates.xml b/mail_all/views/templates.xml new file mode 100644 index 0000000..ed28747 --- /dev/null +++ b/mail_all/views/templates.xml @@ -0,0 +1,32 @@ + + + + + All messages + mail.wall + { + 'default_model': 'res.users', + 'default_res_id': uid, + 'thread_model': 'res.partner', + 'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds', 'mail.mail_inboxfeeds'] + } + + +

+ No message found. +

+
+
+ + + All messages + + + + +
+