When I click on the hr_attendance icon, this message appears:
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: employee_id - employee.id]
Going to the attendance.js, I put a lot of console.logs and I realized that inside the 'do_update_attendance' function, the variable self.employee_id is undefined, but this is the official code (I didn't changed anything).
Is this a bug or I have to modify some code?
Integrity error
, but it's not always the case, when you hit the button the next time and the error comes up, check the server logs and paste them here for us to see – danidee