From 0f0d6ce25cf2a44f18a4300d3ab0e31c2a4d6c06 Mon Sep 17 00:00:00 2001 From: 0Pranav Date: Wed, 30 Oct 2019 11:08:09 +0530 Subject: [PATCH] Remove doctype related to appointment scheduling --- .../doctype/appointment/__init__.py | 0 .../doctype/appointment/appointment.js | 8 -- .../doctype/appointment/appointment.json | 103 ------------------ .../doctype/appointment/appointment.py | 10 -- .../doctype/appointment/test_appointment.py | 10 -- 5 files changed, 131 deletions(-) delete mode 100644 erpnext/communication/doctype/appointment/__init__.py delete mode 100644 erpnext/communication/doctype/appointment/appointment.js delete mode 100644 erpnext/communication/doctype/appointment/appointment.json delete mode 100644 erpnext/communication/doctype/appointment/appointment.py delete mode 100644 erpnext/communication/doctype/appointment/test_appointment.py diff --git a/erpnext/communication/doctype/appointment/__init__.py b/erpnext/communication/doctype/appointment/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/erpnext/communication/doctype/appointment/appointment.js b/erpnext/communication/doctype/appointment/appointment.js deleted file mode 100644 index 4e41047fa1..0000000000 --- a/erpnext/communication/doctype/appointment/appointment.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Appointment', { - // refresh: function(frm) { - - // } -}); diff --git a/erpnext/communication/doctype/appointment/appointment.json b/erpnext/communication/doctype/appointment/appointment.json deleted file mode 100644 index 7d808486ab..0000000000 --- a/erpnext/communication/doctype/appointment/appointment.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "autoname": "APMT.#####", - "creation": "2019-10-22 12:06:17.491113", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "start_time", - "appointment_duration", - "timezone", - "atendees_section", - "requester_type", - "requester", - "col_br_1", - "invitee_type", - "invitee" - ], - "fields": [ - { - "fieldname": "start_time", - "fieldtype": "Datetime", - "in_list_view": 1, - "label": "Start Time", - "reqd": 1 - }, - { - "fieldname": "appointment_duration", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Duration in minutes", - "reqd": 1 - }, - { - "fieldname": "requester", - "fieldtype": "Dynamic Link", - "in_list_view": 1, - "label": "Appointment Requester ", - "options": "requester_type", - "reqd": 1 - }, - { - "fieldname": "invitee", - "fieldtype": "Dynamic Link", - "in_list_view": 1, - "label": "Appointment Invitee", - "options": "invitee_type", - "reqd": 1 - }, - { - "fieldname": "timezone", - "fieldtype": "Data", - "label": "Requester's Timezone", - "reqd": 1 - }, - { - "fieldname": "atendees_section", - "fieldtype": "Section Break", - "label": "Atendees" - }, - { - "fieldname": "requester_type", - "fieldtype": "Link", - "label": "Requester Type", - "options": "DocType", - "reqd": 1 - }, - { - "fieldname": "col_br_1", - "fieldtype": "Column Break" - }, - { - "fieldname": "invitee_type", - "fieldtype": "Link", - "label": "Invitee Type", - "options": "DocType", - "reqd": 1 - } - ], - "modified": "2019-10-22 12:18:20.719128", - "modified_by": "Administrator", - "module": "Communication", - "name": "Appointment", - "name_case": "UPPER CASE", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/erpnext/communication/doctype/appointment/appointment.py b/erpnext/communication/doctype/appointment/appointment.py deleted file mode 100644 index 204b066031..0000000000 --- a/erpnext/communication/doctype/appointment/appointment.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class Appointment(Document): - pass diff --git a/erpnext/communication/doctype/appointment/test_appointment.py b/erpnext/communication/doctype/appointment/test_appointment.py deleted file mode 100644 index 702ac7176f..0000000000 --- a/erpnext/communication/doctype/appointment/test_appointment.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestAppointment(unittest.TestCase): - pass