Merge lp:~openerp-dev/openobject-addons/trunk-opw-575085-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Merged
Merged at revision: 8001
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-575085-port-mma
Merge into: lp:openobject-addons
Diff against target: 11 lines (+1/-0)
1 file modified
hr_payroll/hr_payroll.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-575085-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+132448@code.launchpad.net

Description of the change

Hello,

         On clicking the "Confirm" button the salary slip must be computed as well, which is not happening yet.

         This branch fixes the issue.
         Code is forward port from 6.1

Thanks
Mayur

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
=== modified file 'hr_payroll/hr_payroll.py'
--- hr_payroll/hr_payroll.py 2012-10-12 11:42:58 +0000
+++ hr_payroll/hr_payroll.py 2012-11-01 05:13:21 +0000
@@ -331,6 +331,7 @@
331 return self.write(cr, uid, ids, {'paid': True, 'state': 'done'}, context=context)331 return self.write(cr, uid, ids, {'paid': True, 'state': 'done'}, context=context)
332332
333 def hr_verify_sheet(self, cr, uid, ids, context=None):333 def hr_verify_sheet(self, cr, uid, ids, context=None):
334 self.compute_sheet(cr, uid, ids, context)
334 return self.write(cr, uid, ids, {'state': 'verify'}, context=context)335 return self.write(cr, uid, ids, {'state': 'verify'}, context=context)
335336
336 def refund_sheet(self, cr, uid, ids, context=None):337 def refund_sheet(self, cr, uid, ids, context=None):

Subscribers

People subscribed via source and target branches

to all changes: