ソースを参照

Ignore select validation for naming_series

version-14
Anand Doshi 11年前
コミット
22bafc4a1c
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      frappe/model/base_document.py

+ 1
- 1
frappe/model/base_document.py ファイルの表示

@@ -292,7 +292,7 @@ class BaseDocument(object):
return

for df in self.meta.get_select_fields():
if not (self.get(df.fieldname) and df.options):
if df.fieldname=="naming_series" or not (self.get(df.fieldname) and df.options):
continue

options = (df.options or "").split("\n")


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