Hi there, @KanchanChauhan
Can You help for the matter below?
I am trying to assign an attendance document using script.
The task i want to perform is that i have added two fields Time in and time out.
So when uploading the attendance and if an employee is not having time in and time out so the system will keep the Document in draft Mode.
So I dont know the syntax for assigning Document using Python Script.
And also wanted to know that method on_update is called after the Document is created?
I want to know this is because i want to write the code in on_update method in attendance module.
There is a method where in this method is called before the document is submitted.
to change the employee name if in case employee name is wrong when uploading an excel sheet.
So can i implement the same in Attendance.py??