def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def delete(arg=None):
	frappe.get_doc("Communication", frappe.form_dict['name']).delete()