This bug prevent me to make a new document in my custom doctype

when i press new the screen freezing it’s not even open , i’can’t do anything ,i have to close my browser

i comment all my coding , i deleted all the previously created documents.

The problem was that i have field get date now when create a new form , i add this field in quick entry
that make problem happen i unchecked allow in quick entry and every thing back normal.