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", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 12 | "onboard": 1, |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Crop Cycle", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 17 | "onboard": 1, |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 21 | "name": "Location", |
| 22 | "onboard": 1, |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 23 | } |
| 24 | ] |
| 25 | }, |
| 26 | { |
| 27 | "label": _("Diseases & Fertilizers"), |
| 28 | "items": [ |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Disease", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 32 | "onboard": 1, |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 33 | }, |
| 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Fertilizer", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 37 | "onboard": 1, |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 38 | } |
| 39 | ] |
| 40 | }, |
| 41 | { |
| 42 | "label": _("Analytics"), |
| 43 | "items": [ |
| 44 | { |
| 45 | "type": "doctype", |
| 46 | "name": "Plant Analysis", |
| 47 | }, |
| 48 | { |
| 49 | "type": "doctype", |
| 50 | "name": "Soil Analysis", |
| 51 | }, |
| 52 | { |
| 53 | "type": "doctype", |
| 54 | "name": "Water Analysis", |
| 55 | }, |
| 56 | { |
| 57 | "type": "doctype", |
| 58 | "name": "Soil Texture", |
| 59 | }, |
| 60 | { |
| 61 | "type": "doctype", |
| 62 | "name": "Weather", |
| 63 | }, |
| 64 | { |
| 65 | "type": "doctype", |
| 66 | "name": "Agriculture Analysis Criteria", |
| 67 | } |
| 68 | ] |
| 69 | }, |
| 70 | ] |