Minor fix in maintenance schedule

This commit is contained in:
Nabin Hait 2014-08-28 11:45:12 +05:30
parent 6ba2e3deef
commit 818bacae49
3 changed files with 28 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"autoname": "MS.#####", "autoname": "MS.#####",
"creation": "2013-01-10 16:34:30.000000", "creation": "2013-01-10 16:34:30",
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"fields": [ "fields": [
@ -213,12 +213,21 @@
"permlevel": 0, "permlevel": 0,
"reqd": 1, "reqd": 1,
"search_index": 0 "search_index": 0
},
{
"fieldname": "amended_from",
"fieldtype": "Link",
"label": "Amended From",
"no_copy": 1,
"options": "Maintenance Schedule",
"print_hide": 1,
"read_only": 1
} }
], ],
"icon": "icon-calendar", "icon": "icon-calendar",
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"modified": "2014-01-20 17:48:56.000000", "modified": "2014-08-28 11:39:17.152817",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Support", "module": "Support",
"name": "Maintenance Schedule", "name": "Maintenance Schedule",
@ -239,5 +248,5 @@
"write": 1 "write": 1
} }
], ],
"search_fields": "status,customer,customer_name, sales_order_no" "search_fields": "status,customer,customer_name"
} }

View File

@ -0,0 +1,10 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Maintenance Schedule')
class TestMaintenanceSchedule(unittest.TestCase):
pass

View File

@ -0,0 +1,6 @@
[
{
"doctype": "Maintenance Schedule",
"name": "_Test Maintenance Schedule 1"
}
]