From bd4802fd6e73a087a8b41241068c90b41a6baff9 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Mon, 24 Sep 2012 23:39:49 +0530 Subject: [PATCH] [ADD]: Add tips for users bzr revid: atp@tinyerp.com-20120924180949-dtnqnsowrw2hogcv --- addons/crm/crm_view.xml | 2 +- addons/hr/hr_view.xml | 1 + addons/mail/static/src/js/mail_followers.js | 2 ++ addons/mail/static/src/xml/mail_followers.xml | 5 +++++ addons/project/project_view.xml | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index 373844a08af..63f709f1290 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -117,7 +117,7 @@
- +
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 5d4c2ae9d45..556411fdab4 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -44,6 +44,7 @@ + As Manager of this employee, you will automatically follow all human resource request of this employee diff --git a/addons/mail/static/src/js/mail_followers.js b/addons/mail/static/src/js/mail_followers.js index cf33bd64640..3527313a72c 100644 --- a/addons/mail/static/src/js/mail_followers.js +++ b/addons/mail/static/src/js/mail_followers.js @@ -23,9 +23,11 @@ openerp_mail_followers = function(session, mail) { template: 'mail.followers', init: function() { + this._super.apply(this, arguments); this.options.image = this.node.attrs.image || 'image_small'; this.options.title = this.node.attrs.title || 'Followers'; + this.options.context = this.node.attrs.context; this.ds_model = new session.web.DataSetSearch(this, this.view.model); this.ds_follow = new session.web.DataSetSearch(this, this.field.relation); }, diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index 32ce34d48d1..7b51404825a 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -12,6 +12,11 @@
+ + +
+
+

diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 93d01a5619b..462f622fa03 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -153,7 +153,7 @@
- +