From feb198a01925d449c4288180bf2b42f21e2687f1 Mon Sep 17 00:00:00 2001 From: Anand Baburajan Date: Mon, 10 Oct 2022 21:04:35 +0530 Subject: [PATCH] docs: fix make_autoname example (#18354) --- frappe/model/naming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/model/naming.py b/frappe/model/naming.py index 4eca50ea97..e5441dde76 100644 --- a/frappe/model/naming.py +++ b/frappe/model/naming.py @@ -273,8 +273,8 @@ def make_autoname(key="", doctype="", doc=""): *Example:* - * DE/./.YY./.MM./.##### will create a series like - DE/09/01/0001 where 09 is the year, 01 is the month and 0001 is the series + * DE./.YY./.MM./.##### will create a series like + DE/09/01/00001 where 09 is the year, 01 is the month and 00001 is the series """ if key == "hash": return frappe.generate_hash(doctype, 10)