Namimg Series Issue

I’ve created a new doctype “Gate Pass” with naming series “format:Gate-Pass-{YYYY}-{#######}”, it works fine but the resulting doc names are not consecutive e.g. after 1502 it should be 1503 but it is 1511. I’ve attached the screenshots. I’m using frappe.cloud v13 beta branch.

have you tried .#### instead of {####}

2 Likes

I changed it to Gate-Pass-.YYYY.-.####### , now its working. Thanks

1 Like