From da9033dcb5a0ffaf1a9a8916fce55215231b6ccb Mon Sep 17 00:00:00 2001 From: Vishmita Date: Mon, 28 Jan 2013 10:52:23 +0530 Subject: [PATCH] [Fix]in the employee form put a chatter,to say that the document is created bzr revid: vja@tinyerp.com-20130128052223-3j6gnpe5o0hu573s --- addons/hr/hr.py | 1 + addons/hr/hr_view.xml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 92bde22086e..4ec04b6ce6a 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -146,6 +146,7 @@ class hr_employee(osv.osv): _name = "hr.employee" _description = "Employee" _inherits = {'resource.resource': "resource_id"} + _inherit = ['mail.thread'] def _get_image(self, cr, uid, ids, name, args, context=None): result = dict.fromkeys(ids, False) diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index dc65fa80e8b..8767da6bd63 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -84,6 +84,10 @@ +
+ + +