openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26210
[Bug 1237601] Re: [6.1/7.0/trunk] hr_payroll_account doesn't update all slips in method process_sheet
Hello Aristobulo,
Thanks for the detailed explanation!
I have faced the same problem at my end. Let me confirm this issue!
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: Incomplete => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1237601
Title:
[6.1/7.0/trunk] hr_payroll_account doesn't update all slips in method
process_sheet
Status in OpenERP Addons (modules):
Confirmed
Bug description:
In method process_sheet after creating all account.moves when
super(hr_payslip, self).process_sheet(...) is invoked [slid.id] is
sent instead of ids, by doing this only the last record of hr.payslip
objects is updated and set to {'paid': True, 'state': 'done'}.
So, if you are working with a list of hr.payslip only the last one is
going to be done, and the rest will be stuck at state: 'draft'.
This is an error.
You can check it in:
[trunk] http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/hr_payroll_account/hr_payroll_account.py#L188
[7.0] http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/hr_payroll_account/hr_payroll_account.py#L190
[6.1] http://bazaar.launchpad.net/~openerp/openobject-addons/6.1/view/head:/hr_payroll_account/hr_payroll_account.py#L188
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1237601/+subscriptions
References