From 51dd3452506d565793116a6b5d5a4f8c6d70a5a5 Mon Sep 17 00:00:00 2001 From: x620 Date: Wed, 25 May 2016 18:12:35 +0500 Subject: [PATCH] [FIX] __openerp__.py: add link to views/templates.xml [FIX] templates.xml: add menu item where display all messages --- mail_all/__openerp__.py | 5 +---- mail_all/views/templates.xml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 mail_all/views/templates.xml diff --git a/mail_all/__openerp__.py b/mail_all/__openerp__.py index e99e8ef..e541a37 100644 --- a/mail_all/__openerp__.py +++ b/mail_all/__openerp__.py @@ -17,10 +17,7 @@ ], "external_dependencies": {"python": [], "bin": []}, "data": [ - # "views/templates.xml", - ], - "qweb": [ - # "static/src/xml/menu.xml", + "views/templates.xml", ], "demo": [], "post_load": None, 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 + + + + +
+