瀏覽代碼

Merge pull request #16608 from gavindsouza/allow-childtable-naming

fix!: Allow child table naming (autoname)
version-14
mergify[bot] 3 年之前
committed by GitHub
父節點
當前提交
b193194484
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. +0
    -3
      frappe/model/naming.py

+ 0
- 3
frappe/model/naming.py 查看文件

@@ -46,9 +46,6 @@ def set_new_name(doc):
elif getattr(doc.meta, "issingle", False):
doc.name = doc.doctype

elif getattr(doc.meta, "istable", False):
doc.name = make_autoname("hash", doc.doctype)

if not doc.name:
set_naming_from_document_naming_rule(doc)



Loading…
取消
儲存