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