X] hr_evaluation: _rec_name

To avoid warning when making a name_search on "hr_evaluation.evaluation".
This commit is contained in:
Goffin Simon 2015-09-21 09:59:32 +02:00
parent 14b060ed71
commit 1bcc5b5797
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ class hr_evaluation(osv.Model):
_name = "hr_evaluation.evaluation"
_inherit = "mail.thread"
_description = "Employee Appraisal"
_rec_name = "employee_id"
_columns = {
'date': fields.date("Appraisal Deadline", required=True, select=True),
'employee_id': fields.many2one('hr.employee', "Employee", required=True),