Recursion Error On Submission of Stock Reconciliation

On Submission of Stock Reconciliation, getting this “RecursionError: maximum recursion depth exceeded in comparison” error.

ERPNext: v14.41.2 (version-14)

Frappe Framework: v14.51.0 (version-14)

Kindly please suggest.

You can try to submit less number of entries for reconciliation and submit multiple reconciliation records


If you are on self-hosting, try to increase recursion limit using sys module before code execution

import sys
sys.setrecursionlimit( 10 * * 4 )