This commit is contained in:
Rushabh Mehta
2014-03-06 14:45:02 +05:30
parent 2e7ad8980c
commit 73f0bf36c1
2 changed files with 9 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ class DocType(TransactionBase):
"event_type": "Private",
"ref_type": self.doc.doctype,
"ref_name": self.doc.name
}).insert()
}).insert(ignore_permissions=1)
frappe.db.set(self.doc, 'status', 'Submitted')