Created
March 31, 2015 12:48
-
-
Save MaxMorais/40b9c8367e0444b7695b to your computer and use it in GitHub Desktop.
Module config example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import unicode_literals | |
from frappe import _ | |
def get_data(): | |
return [ | |
{ | |
"label": _("Documents"), | |
"icon": "icon-star", | |
"items": [ | |
{ | |
"type": "doctype", | |
"name": "Organization", | |
"description": _("Organization records master.") | |
}, | |
{ | |
"type": "doctype", | |
"name": "Department", | |
"description": _("Organization unit (department) master.") | |
}, | |
{ | |
"type": "doctype", | |
"name": "Staff", | |
"description": _("Staff records."), | |
}, | |
{ | |
"type": "doctype", | |
"name": "Parcel", | |
"label": "Parcel", | |
}, | |
{ | |
"type": "doctype", | |
"name": "Letter", | |
"label": "Letter" | |
} | |
] | |
}, | |
{ | |
"label": _("Tools"), | |
"icon": "icon-wrench", | |
"items": [ | |
{ | |
"type": "doctype", | |
"name": "Parcel Pickup", | |
"label": "Pickup" | |
}, | |
{ | |
"type": "doctype", | |
"name": "Parcel Delivery", | |
"label": "Delivery" | |
}, | |
{ | |
"type": "doctype", | |
"name": "Parcel Return", | |
"label": "Return" | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment