Modifying dates on payslip when employee is selected breaks the payslip (to date is calculated wrong)

Bug #1216762 reported by Laura
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 3

Bug Description

I tested this also in trunk version of runbot (Build 18197, server 4940, addons 8871,web 3818).

Employees Payslip -> create, by default dates are set to current month e.g. date from 1st of Aug date to 31st of August -> select employee (from runbot Gilles Gravie)

Worked days and hours are 22 days 198 hours.

change dates for next month e.g. from date 1st of September and to date to 31st of september

Worked days and hours are zero.

Change from date to previous month e.g. from date 1st July to date 31st July

Worked days 45 and hours 405... which means that it is still considering to date to be 31st of Aug (which explains also zeros in September)

Change back to the original date from 1st of Aug date to 31st of August.

Worked days and hours are zero. Don't know why this happens.

However if you create payslip so that you first change dates and then select employee for all of these cases worked days an hours are correct for August 22 days 198 hours for July nothing because contract starts from August and for September 21 days and 189 hours.

Laura (laura-jarvenpaa)
affects: openobject-library → openobject-addons
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Laura,

I have checked this issue with latest trunk as well with 7.0. But I am not getting with this , would you please provide any video or image of this issue ? So, according to that I will be more clear on this problem.

Thanks & waiting for your answer.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Laura (laura-jarvenpaa) wrote :

Generated these screenshots in todays runbot. Follow the order of the numbers on each screenshot.

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello,

Having this issue in 7.0 only but when I test it in trunk, "save" button is disable , even I can't able to save anything.

So, I am conforming this.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.