Hi,
i have a model called shift with status field, it can be open or closed, and it has a field called closing balance
i want to create a button (close shift) that will be shown in tree view of the shifts, and when i click on it i should go to a form that will ask me to fill closing balance for this shift and when i click save the status of the shift will be changed to closed
Any when can help me please or give some guidelines for how to create this form and button and i will be thankful