[FIX] Payroll: strcut_id on contract now compulsory

bzr revid: mra@mra-laptop-20110408130136-y4g2m87dzo0zei51
This commit is contained in:
Mustufa Rangwala 2011-04-08 18:31:36 +05:30
parent c9a30f97ae
commit 97b7ef99ff
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class hr_contract(osv.osv):
_inherit = 'hr.contract'
_description = 'Employee Contract'
_columns = {
'struct_id': fields.many2one('hr.payroll.structure', 'Salary Structure'),
'struct_id': fields.many2one('hr.payroll.structure', 'Salary Structure', required=True),
'schedule_pay': fields.selection([
('monthly', 'Monthly'),
('quarterly', 'Quarterly'),