Merge lp:~camptocamp/hr-timesheet/7.0-add-hr_timesheet_improvement into lp:~hr-core-editors/hr-timesheet/7.0
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Merged |
---|---|
Merged at revision: | 43 |
Proposed branch: | lp:~camptocamp/hr-timesheet/7.0-add-hr_timesheet_improvement |
Merge into: | lp:~hr-core-editors/hr-timesheet/7.0 |
Diff against target: |
263 lines (+238/-0) 5 files modified
hr_timesheet_improvement/__init__.py (+22/-0) hr_timesheet_improvement/__openerp__.py (+50/-0) hr_timesheet_improvement/hr_attendance.py (+98/-0) hr_timesheet_improvement/hr_timesheet.py (+51/-0) hr_timesheet_improvement/hr_timesheet_view.xml (+17/-0) |
To merge this branch: | bzr merge lp:~camptocamp/hr-timesheet/7.0-add-hr_timesheet_improvement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | code, test | Approve | |
Guewen Baconnier @ Camptocamp | lgtm | Approve | |
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+163527@code.launchpad.net |
Description of the change
- Add a module to sort timesheet lines by date and account name instead of the dummy id sorting.
- Change default date for manually entering attendances to last date instead of now.
- Redefines constraint on attendances to check only the sheet the attendance belongs to.
To post a comment you must log in.
I would like confirmation that:
* in 7.0 the requirement to redeclare the constraint function in the _constraints attributes is lifted
* the code works if several check ins/outs are added simultaneously