[IMP]Improved Constraint Error message in job positions

bzr revid: ggh@tinyerp.com-20121214132656-opjfm3ruu0vloaqx
This commit is contained in:
ggh-openerp 2012-12-14 18:56:56 +05:30
parent c6ff1f2fb5
commit 6e8c9b9d68
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class hr_job(osv.osv):
}
_sql_constraints = [
('name_company_uniq', 'unique(name, company_id, department_id)', 'The name of the job position must be unique per company!'),
('name_company_uniq', 'unique(name, company_id, department_id)', 'The name of the job position must be unique per department in company!'),
]