[FIX] Payroll: strcut_id on contract now compulsory
bzr revid: mra@mra-laptop-20110408130136-y4g2m87dzo0zei51
This commit is contained in:
parent
c9a30f97ae
commit
97b7ef99ff
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue