Skip to content

Commit

Permalink
X] hr_evaluation: _rec_name
Browse files Browse the repository at this point in the history
To avoid warning when making a name_search on "hr_evaluation.evaluation".
  • Loading branch information
simongoffin committed Sep 22, 2015
1 parent 14b060e commit 1bcc5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/hr_evaluation/hr_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1bcc5b5

Please sign in to comment.