diff --git a/addons/crm/crm_lead_menu.xml b/addons/crm/crm_lead_menu.xml
index 3cd45fd5cd1..5fc8891edb4 100644
--- a/addons/crm/crm_lead_menu.xml
+++ b/addons/crm/crm_lead_menu.xml
@@ -9,7 +9,7 @@
['|', ('type','=','lead'), ('type','=',False)]
- {'default_type': 'lead', 'search_default_section_id': section_id, 'stage_type': 'lead'}
+ {'default_type': 'lead', 'search_default_section_id': section_id, 'stage_type': 'lead', 'search_default_inbox': 1}
<img src="http://www.thaicrmsoftware.com/wp-content/uploads/2011/11/lead-conversion.jpg" align="right" style="padding: 6px" width="306" height="223">
<h2>Create your first OpenERP Lead </h2>
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index 95577080c20..30c4fef7bf5 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -324,6 +324,7 @@
search
+ hr.applicantkanban,tree,form,graph,calendar
- {'search_default_filter_inprogress':1,'search_default_filter_new':1,"search_default_department_id": department_id}
+ {'search_default_filter_inprogress':1, 'search_default_filter_new':1, "search_default_department_id": department_id, 'search_default_inbox': 1}From this menu you can track applicants in the recruitment process and manage all operations: meetings, interviews, phone calls, etc. If you setup the email gateway, applicants and their attached CV are created automatically when an email is sent to jobs@yourcompany.com. If you install the document management modules, all documents (CV and motivation letters) are indexed automatically, so that you can easily search through their content.
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 76b73e9aca3..08f20cd3722 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -179,6 +179,7 @@
search
+
-
@@ -168,7 +167,6 @@
search
-
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index 8cd8ef415c3..0d133c334a9 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -72,6 +72,7 @@ class mail_thread(osv.osv):
_columns = {
'message_ids_social': fields.function(_get_message_ids, method=True,
type='one2many', obj='mail.message', string='Temp messages', _fields_id = 'res_id'),
+ 'message_state': fields.selection([('read', 'Read'),('unread', 'Unread')], 'Message State'),
}
#------------------------------------------------------
@@ -569,6 +570,7 @@ class mail_thread(osv.osv):
data.update(custom_values)
res_id = model_pool.create(cr, uid, data, context=context)
self.message_append_dict(cr, uid, [res_id], msg_dict, context=context)
+ self.write(cr, uid, [res_id], {'message_state':'unread'}, context=context)
return res_id
def message_update(self, cr, uid, ids, msg_dict, vals={}, default_act=None, context=None):
@@ -587,6 +589,7 @@ class mail_thread(osv.osv):
to determine the model of the thread to
update (instead of the current model).
"""
+ self.write(cr, uid, ids, {'message_state':'unread'}, context=context)
return self.message_append_dict(cr, uid, ids, msg_dict, context=context)
def message_thread_followers(self, cr, uid, ids, context=None):
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index f86caeadef0..e13df09ee8f 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -299,7 +299,7 @@
-
+
@@ -429,11 +429,11 @@
+ help="Change Type" attrs="{'invisible': [('type_id','=', False)]}"/>
@@ -489,6 +489,7 @@
+
@@ -529,7 +530,7 @@
kanban,tree,form,calendar,gantt,graph
- {"search_default_project_id": project_id}
+ {"search_default_project_id": project_id, 'search_default_inbox': 1}A task represents a work that has to be done. Each user works in his own list of tasks where he can record his task work in hours. He can work and close the task itself or delegate it to another user. If you delegate a task to another user, you get a new task in pending state, which will be reopened when you have to review the work achieved. If you install the project_timesheet module, task work can be invoiced based on the project configuration. With the project_mrp module, sales orders can create tasks automatically when they are confirmed.
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py
index 90697d4bb80..c84a097a24b 100644
--- a/addons/project_issue/project_issue.py
+++ b/addons/project_issue/project_issue.py
@@ -443,6 +443,7 @@ class project_issue(crm.crm_case, osv.osv):
vals.update(custom_values)
res_id = self.create(cr, uid, vals, context)
+ self.write(cr, uid, [res_id], {'message_state':'unread'}, context=context)
self.message_append_dict(cr, uid, [res_id], msg, context=context)
self.convert_to_bug(cr, uid, [res_id], context=context)
return res_id
@@ -481,6 +482,7 @@ class project_issue(crm.crm_case, osv.osv):
vals.update(vls)
res = self.write(cr, uid, ids, vals)
+ self.write(cr, uid, ids, {'message_state':'unread'}, context=context)
self.message_append_dict(cr, uid, ids, msg, context=context)
return res
diff --git a/addons/project_issue/project_issue_menu.xml b/addons/project_issue/project_issue_menu.xml
index dd61992a555..79dedafc261 100644
--- a/addons/project_issue/project_issue_menu.xml
+++ b/addons/project_issue/project_issue_menu.xml
@@ -12,7 +12,7 @@
kanban,tree,calendar
- {"search_default_user_id": uid, "search_default_draft": 1,"search_default_todo": 1,"search_default_project_id":project_id}
+ {"search_default_user_id": uid, "search_default_draft": 1,"search_default_todo": 1,"search_default_project_id":project_id, 'search_default_inbox': 1}Issues such as system bugs, customer complaints, and material breakdowns are collected here. You can define the stages assigned when solving the project issue (analysis, development, done). With the mailgateway module, issues can be integrated through an email address (example: support@mycompany.com)
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index f01442f7ecf..8860641d886 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -62,7 +62,7 @@
-
+
@@ -132,8 +132,8 @@
-
-
+
+
@@ -157,6 +157,7 @@
+