RecursionError: maximum recursion depth exceeded

In my custom doctype, i am getting this error

image

i am not able to add new record (i have only 1003 records)

Check you code for that doctype, might something to be going into infinite loop which cause this error.

I think this error occur because of this

Yes, that is also possible on JS events also goes in infinite loop. That’s why i told to check customization for that particular app.

Yes after your reply I check all my script and after some changes, no error.
Not trace the error source.