refactor(dashboard): Move DocTypes to Desk module

- Rename Chart to Dashboard Chart
This commit is contained in:
Aditya Hase 2019-01-16 13:39:55 +05:30
parent 59ca894231
commit 241d13743f
10 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@
"label": "Charts",
"length": 0,
"no_copy": 0,
"options": "Chart",
"options": "Dashboard Chart",
"permlevel": 0,
"precision": "",
"print_hide": 0,
@ -90,9 +90,9 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2019-01-15 12:06:10.126944",
"modified": "2019-01-16 13:35:14.516114",
"modified_by": "Administrator",
"module": "Core",
"module": "Desk",
"name": "Dashboard",
"name_case": "",
"owner": "Administrator",

View file

@ -1,7 +1,7 @@
// Copyright (c) 2019, Frappe Technologies and contributors
// For license information, please see license.txt
frappe.ui.form.on('Chart', {
frappe.ui.form.on('Dashboard Chart', {
refresh: function(frm) {
}

View file

@ -186,10 +186,10 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2019-01-15 14:46:06.870884",
"modified": "2019-01-16 13:34:58.802451",
"modified_by": "Administrator",
"module": "Core",
"name": "Chart",
"module": "Desk",
"name": "Dashboard Chart",
"name_case": "",
"owner": "Administrator",
"permissions": [

View file

@ -6,5 +6,5 @@ from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class Chart(Document):
class DashboardChart(Document):
pass

View file

@ -6,5 +6,5 @@ from __future__ import unicode_literals
import frappe
import unittest
class TestChart(unittest.TestCase):
class TestDashboardChart(unittest.TestCase):
pass