Leave Application broken since update to v14.82.1 [SOLVED]

,

Since updating ERPNext to v14.82.1 Leave Application is broken.

When an Employee wants to add a Leave Application and saves it there is an error popping up stating: Invalid field name: prevent_self_leave_approval

I was only able to test it on two user accounts, one with Leave Approval level and one without. The one without is also an Expense Approver.

I looked in the Leave Applicatuon DocType but there is no prevent_self_leave_approval field. I don’t know where to find this setting. When searching the forum for this issue, I’ve encountered two old threads referring to Workflows, but we never used workflows.

UPDATE: when I want to select an old - already approved - leave application from the list, I get the same error and no page opens.

Nobody encountering this issue?

looks like a bug… can we update erp and see if same issue persists??

I’ve updated erp yesterday to v14.83.2 but the issue persist

Due to an update the hrms-app was updated to version 16.0.0-dev causing this error.

Thanks to @Jeel, who pointed out the version mismatch I did:

bench switch-to-branch version-14 hrms
bench update --patch
bench restart

and now the hrms app shows version 14 corresponding with my ERPNext and Frappe versions. The error is solved by this.

1 Like