Aditya Hase | f3c22f3 | 2019-01-22 18:22:20 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Kanchan Chauhan | fb3eb13 | 2016-06-29 15:04:08 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Maintenance"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 8 | "icon": "fa fa-star", |
Kanchan Chauhan | fb3eb13 | 2016-06-29 15:04:08 +0530 | [diff] [blame] | 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "Maintenance Schedule", |
| 13 | "description": _("Plan for maintenance visits."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
| 17 | "name": "Maintenance Visit", |
| 18 | "description": _("Visit report for maintenance call."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "report", |
| 22 | "name": "Maintenance Schedules", |
| 23 | "is_query_report": True, |
| 24 | "doctype": "Maintenance Schedule" |
| 25 | }, |
| 26 | { |
| 27 | "type": "doctype", |
| 28 | "name": "Warranty Claim", |
| 29 | "description": _("Warranty Claim against Serial No."), |
| 30 | }, |
| 31 | ] |
| 32 | } |
| 33 | ] |