Merge lp:~openerp-dev/openobject-addons/trunk-bug-862218-bde into lp:openobject-addons
Proposed by
Bharat Devnani (Open ERP)
Status: | Rejected |
---|---|
Rejected by: | qdp (OpenERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-bug-862218-bde |
Merge into: | lp:openobject-addons |
Diff against target: |
22 lines (+2/-2) 1 file modified
hr_payroll_account/hr_payroll_account.py (+2/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-862218-bde |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mustufa Rangwala (Open ERP) (community) | Approve | ||
qdp (OpenERP) | Pending | ||
Review via email:
|
Description of the change
Hello Sir,
Thanks for your solution, i have applied the suggested solution and now the functionality in hr_payroll_account is working as expected.
Thanks & Regards,
Devnani Bharat R.
To post a comment you must log in.
Unmerged revisions
- 5239. By Bharat Devnani (Open ERP)
-
hr : when tried to cancel Employee payslip
no, the right patch was the following:
=== modified file 'hr_payroll_ account/ hr_payroll_ account. py' account/ hr_payroll_ account. py 2011-09-24 15:15:33 +0000 account/ hr_payroll_ account. py 2011-10-07 13:47:43 +0000
move_ to_cancel = [] append( slip.move_ id.id) cancel. append( slip.move_ id.id) append( slip.move_ id.id) cancel. append( slip.move_ id.id)
move_ pool.button_ cancel( cr, uid, move_to_cancel, context=context)
move_ pool.unlink( cr, uid, move_ids, context=context) sheet(cr, uid, ids, context=context)
--- hr_payroll_
+++ hr_payroll_
@@ -59,9 +59,10 @@
move_ids = []
for slip in self.browse(cr, uid, ids, context=context):
- move_ids.
- if slip.move_id.state == 'posted':
- move_to_
+ if slip.move_id:
+ move_ids.
+ if slip.move_id.state == 'posted':
+ move_to_
return super(hr_payslip, self).cancel_
it's now merged in addons trunk