[IMP]Improved Constraint Error message in job positions
bzr revid: ggh@tinyerp.com-20121214132656-opjfm3ruu0vloaqx
This commit is contained in:
parent
c6ff1f2fb5
commit
6e8c9b9d68
|
@ -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!'),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue