Merge lp:~rr.clearcorp/openerp-costa-rica/7.0-l10n_cr_hr_payroll into lp:openerp-costa-rica

Proposed by Ronald Rubi on 2014-06-27
Status: Merged
Merged at revision: 290
Proposed branch: lp:~rr.clearcorp/openerp-costa-rica/7.0-l10n_cr_hr_payroll
Merge into: lp:openerp-costa-rica
Diff against target: 10 lines (+1/-0)
1 file modified
l10n_cr_hr_payroll/l10n_cr_hr_payroll.py (+1/-0)
To merge this branch: bzr merge lp:~rr.clearcorp/openerp-costa-rica/7.0-l10n_cr_hr_payroll
Reviewer Review Type Date Requested Status
ClearCorp drivers 2014-06-27 Pending
Review via email: mp+224894@code.launchpad.net

Description of the change

Add compute_sheet in confirm_payslips in l10n_cr_hr_payroll

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_cr_hr_payroll/l10n_cr_hr_payroll.py'
2--- l10n_cr_hr_payroll/l10n_cr_hr_payroll.py 2013-08-27 14:41:48 +0000
3+++ l10n_cr_hr_payroll/l10n_cr_hr_payroll.py 2014-06-27 19:59:13 +0000
4@@ -97,6 +97,7 @@
5 payslip_ids = map(lambda x: x.id, batches.slip_ids)
6 for payslip in payslip_obj.browse(cr, uid, payslip_ids):
7 if payslip.state == 'draft':
8+ payslip_obj.compute_sheet(cr, uid, [payslip.id], context=context)
9 payslip_obj.process_sheet(cr, uid, [payslip.id], context=context)
10 return True
11

Subscribers

People subscribed via source and target branches

to all changes: