Change status of document depinding on field value

hello all…

i have made some changes to the attendance form and i need to change the status automatically depending on one field, the scenario is:

1 field login / start time
2 field layoff / finish time
3 read only field value of hours worked (start time - finish time)

i need to change the status of the document to be incomplete working day if the value of hours worked is less than 9 hours.


@ramielian share your code.

that’s the idea, i need to know can i make it in a custom script or in a custom field options or change in the masters?

i am still new to python and WILL start learning soon enough…