docs: fix make_autoname example (#18354)
This commit is contained in:
parent
a62861ec9f
commit
feb198a019
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue