def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def delete(arg=None):
	frappe.get_doc("Communication", frappe.form_dict['name']).delete()