Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Crops & Lands"), |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Crop", |
| 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
| 15 | "name": "Crop Cycle", |
| 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
Alchez | df1eae8 | 2018-07-13 12:50:04 +0530 | [diff] [blame] | 19 | "name": "Location" |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 20 | } |
| 21 | ] |
| 22 | }, |
| 23 | { |
| 24 | "label": _("Diseases & Fertilizers"), |
| 25 | "items": [ |
| 26 | { |
| 27 | "type": "doctype", |
| 28 | "name": "Disease", |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Fertilizer", |
| 33 | } |
| 34 | ] |
| 35 | }, |
| 36 | { |
| 37 | "label": _("Analytics"), |
| 38 | "items": [ |
| 39 | { |
| 40 | "type": "doctype", |
| 41 | "name": "Plant Analysis", |
| 42 | }, |
| 43 | { |
| 44 | "type": "doctype", |
| 45 | "name": "Soil Analysis", |
| 46 | }, |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Water Analysis", |
| 50 | }, |
| 51 | { |
| 52 | "type": "doctype", |
| 53 | "name": "Soil Texture", |
| 54 | }, |
| 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Weather", |
| 58 | }, |
| 59 | { |
| 60 | "type": "doctype", |
| 61 | "name": "Agriculture Analysis Criteria", |
| 62 | } |
| 63 | ] |
| 64 | }, |
| 65 | ] |