[Fix]in the employee form put a chatter,to say that the document is created

bzr revid: vja@tinyerp.com-20130128052223-3j6gnpe5o0hu573s
This commit is contained in:
Vishmita
2013-01-28 10:52:23 +05:30
parent 34531d70b3
commit da9033dcb5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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)
+4
View File
@@ -84,6 +84,10 @@
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>