brotherton-erpnext/erpnext/config/agriculture.py
Alchez df1eae8981 Merge the Land Unit doctype with the Location doctype (#14613)
* Merge Land Unit with the Location doctype

* Fix patch

* [minor] modification to Location structure

- Create a group node "All Land Units" and place all the land units
under it
- Remove "Linked Analysis" from location
2018-07-13 12:50:04 +05:30

65 lines
993 B
Python

from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Crops & Lands"),
"items": [
{
"type": "doctype",
"name": "Crop",
},
{
"type": "doctype",
"name": "Crop Cycle",
},
{
"type": "doctype",
"name": "Location"
}
]
},
{
"label": _("Diseases & Fertilizers"),
"items": [
{
"type": "doctype",
"name": "Disease",
},
{
"type": "doctype",
"name": "Fertilizer",
}
]
},
{
"label": _("Analytics"),
"items": [
{
"type": "doctype",
"name": "Plant Analysis",
},
{
"type": "doctype",
"name": "Soil Analysis",
},
{
"type": "doctype",
"name": "Water Analysis",
},
{
"type": "doctype",
"name": "Soil Texture",
},
{
"type": "doctype",
"name": "Weather",
},
{
"type": "doctype",
"name": "Agriculture Analysis Criteria",
}
]
},
]