From a2215c7a9a067daa44c199e5461d993660e817c3 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Sat, 24 Dec 2016 14:51:07 +0530 Subject: [PATCH] [Fix]Attachment in Amended doc --- frappe/model/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/model/document.py b/frappe/model/document.py index af6310895e..7dfb880926 100644 --- a/frappe/model/document.py +++ b/frappe/model/document.py @@ -278,7 +278,7 @@ class Document(BaseDocument): for attach_item in get_attachments(self.doctype, self.amended_from): #save attachments to new doc - save_url(attach_item.file_url, attach_item.file_name, self.doctype, self.name, "Home/Attachments") + save_url(attach_item.file_url, attach_item.file_name, self.doctype, self.name, "Home/Attachments", attach_item.is_private) def update_children(self): '''update child tables'''