[FIX]hr_payroll : On clicking the Confirm button the salary slip must be computed as well, which is not happening

bzr revid: mma@tinyerp.com-20121101050924-ywsnzr7n930g97pq
This commit is contained in:
Mayur Maheshwari (OpenERP)
2012-11-01 10:39:24 +05:30
parent b006809773
commit 7d765c0c38
+1
View File
@@ -331,6 +331,7 @@ class hr_payslip(osv.osv):
return self.write(cr, uid, ids, {'paid': True, 'state': 'done'}, context=context)
def hr_verify_sheet(self, cr, uid, ids, context=None):
self.compute_sheet(cr, uid, ids, context)
return self.write(cr, uid, ids, {'state': 'verify'}, context=context)
def refund_sheet(self, cr, uid, ids, context=None):