ソースを参照

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キー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)



読み込み中…
キャンセル
保存