[MERGE] compute payroll

bzr revid: fp@tinyerp.com-20121112083937-6wdxk6313q2lbdim
This commit is contained in:
Fabien Pinckaers 2012-11-12 09:39:37 +01:00
commit c3c05928e7
1 changed files with 1 additions and 0 deletions

View File

@ -326,6 +326,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):