Update project.py

This commit is contained in:
Rushabh Mehta 2014-07-09 09:27:02 +05:30
parent f31221d0d3
commit 3f606b6c64

View File

@ -55,7 +55,7 @@ class Project(Document):
"event_type": "Private",
"ref_type": self.doctype,
"ref_name": self.name
}).insert()
}).insert(ignore_permissions=True)
def on_trash(self):
delete_events(self.doctype, self.name)