hr_attendance web client active_ids
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Using the latest trunk data I'm having this problem:
openerp-web - 1669
openobject-server - 3863
openobject-addons - 5913
When i select a user and click on Attendance by month report active_ids are passed OK to the wizard, but when i click Print on the wizard active_ids value is changed with the value of the form id.
This is a only happening in web client. I don't think it's general web client bug because if i try to get a report for Products everything is OK.
To reproduce problem go to HR, open Employees, check one of the employees, click on Attendance by Month report and click Print.
If you have more employees from demo you will get report for different user each time, but if you have only Administrator you will get report for Administrator the first time and then error because the form id will be 2, 3, 4, ... etc and there is no employee with that id.
Regards,
Nikola
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 51 lines (+5/-4)2 files modifiedhr_attendance/report/attendance_by_month.py (+4/-4)
hr_attendance/wizard/hr_attendance_bymonth.py (+1/-0)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
I've fixed this problem, now i can get correct Employees for the report using the web client.
Please apply this patch.
Regards,
Nikola