[6.1/7.0/trunk] hr_payroll_account doesn't update all slips in method process_sheet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
In method process_sheet after creating all account.moves when super(hr_payslip, self).process_
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://
[7.0] http://
[6.1] http://
Changed in openobject-addons: | |
status: | New → Incomplete |
Changed in openobject-addons: | |
importance: | Low → Medium |
tags: | removed: batch payslip |
Hello Aristobulo,
I think the code is correct because process_sheet method is a workflow method it will be called when you compute the slip.
There are a two way to generate the payslip and compute it. You can use the employee payslip menu and create payslip then compute it. Here you can only compute the sheet only for one record which is the selected payslip and its pass as a slip.id which is correct, Also we dnt have a facility to compute the multiple payslip together from this menu.
2nd option which is payslip batches. Which has generate payslip button it will create the payslip and compute it. I have tried with the multiple payslip there and its also working fine.
Would you please provide the use-case where you have faced the problem?
Thanks and waiting for your reply!