On previous row total error

Removing referance to the row 2 but after saving it takes 1 amutomatically

Versions:
ERPNext: v14.70.7 (HEAD)

Frappe Framework: v14.77.1 (HEAD)

Frappe HR: v14.28.7 (HEAD)

India Compliance: v14.28.0 (HEAD)

Payments: v0.0.1 (HEAD)

Following post should help.