소스 검색

Dont copy amended_from and amendment_date in copy_doc

version-14
Nabin Hait 11 년 전
부모
커밋
a714b2d588
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      frappe/__init__.py

+ 2
- 0
frappe/__init__.py 파일 보기

@@ -556,6 +556,8 @@ def copy_doc(doc):
newdoc.set("__islocal", 1)
newdoc.owner = None
newdoc.creation = None
newdoc.amended_from = None
newdoc.amendment_date = None
for d in newdoc.get_all_children():
d.name = None
d.parent = None


불러오는 중...
취소
저장