このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
anoopmb
/
frappe
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
fix: ignore lft and rgt when migrating a tree doctype
version-14
barredterra
4年前
親
2374290935
コミット
4a5f8dd23d
1個のファイルの変更
、
4行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+4
-0
frappe/modules/import_file.py
+ 4
- 0
frappe/modules/import_file.py
ファイルの表示
@@ -107,6 +107,10 @@ def import_doc(docdict, force=False, data_import=False, pre_process=None,
doc = frappe.get_doc(docdict)
if doc.meta.is_tree:
doc.lft = None
doc.rgt = None
doc.run_method("before_import")
doc.flags.ignore_version = ignore_version
書き込み
プレビュー
読み込み中…
キャンセル
保存