[IMP] hr_payroll: improved string for 'state' fields
bzr revid: mtr@mtr-20110331123213-8kqt1becfgcqwfgy
This commit is contained in:
parent
e5fb623048
commit
e9b4d4538c
|
@ -153,9 +153,9 @@ class payroll_register(osv.osv):
|
|||
'line_ids':fields.one2many('hr.payslip', 'register_id', 'Payslips', required=False),
|
||||
'state':fields.selection([
|
||||
('new','New Slip'),
|
||||
('draft','Wating for Verification'),
|
||||
('hr_check','Wating for HR Verification'),
|
||||
('accont_check','Wating for Account Verification'),
|
||||
('draft','Waiting for Verification'),
|
||||
('hr_check','Waiting for HR Verification'),
|
||||
('accont_check','Waiting for Account Verification'),
|
||||
('confirm','Confirm Sheet'),
|
||||
('done','Paid Salary'),
|
||||
('cancel','Reject'),
|
||||
|
@ -530,9 +530,9 @@ class hr_payslip(osv.osv):
|
|||
'employee_id':fields.many2one('hr.employee', 'Employee', required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
||||
'date': fields.date('Date', readonly=True, states={'draft': [('readonly', False)]}),
|
||||
'state':fields.selection([
|
||||
('draft','Wating For Verification'),
|
||||
('hr_check','Wating For HR Verification'),
|
||||
('accont_check','Wating For Account Verification'),
|
||||
('draft','Waiting For Verification'),
|
||||
('hr_check','Waiting For HR Verification'),
|
||||
('accont_check','Waiting For Account Verification'),
|
||||
('confirm','Confirm Sheet'),
|
||||
('done','Paid Salary'),
|
||||
('cancel','Reject'),
|
||||
|
|
Loading…
Reference in New Issue