I need to generate timesheets report for a given user in a given data range.
I also need to sum the timesheets hours by date so each row in the report has unique date.
I have simple report ready as well as wizard for picking particular user and dates. But I'm having trouble with passing data to the report. When I click the print button on my wizard I get this error:
ProgrammingError: relation "hr_timesheet_karty_wizard" does not exist
LINE 1: INSERT INTO "hr_timesheet_karty_wizard" ("id", "date_from", ...I'm not really sure what to do with `records`. Should I put them in 'doc_ids' or 'doc_ids'?
I'm also not sure how to sum the records by date.
I'm using Odoo 8.
Here is my python code:
Here is my wizard:
And here is my report:
Please help