Wrong type on modification of existing attendance record
Steps to reproduce: record1 = Create a in at 9am record2 = Create a out at 10am Try to modify the out time (record2) setting at=11am The on_change_type when it does the search finds the record2 ( last one ) so it recomputes the type to in. Result: record1 = in, 9am record2= in, 11am
For me we need to exclude the actual record id on the search.