blob: b423ee925df83ab425fce7fdd66740b7baafcd2e [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Purchasing"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "icon": "icon-star",
9 "items": [
10 {
11 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053012 "name": "Material Request",
13 "description": _("Request for purchase."),
14 },
15 {
16 "type": "doctype",
rohitwaghchaure44d04492016-03-03 14:00:35 +053017 "name": "Request for Quotation",
18 "description": _("Request for quotation."),
19 },
20 {
21 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053022 "name": "Supplier Quotation",
23 "description": _("Quotations received from Suppliers."),
24 },
25 {
26 "type": "doctype",
27 "name": "Purchase Order",
28 "description": _("Purchase Orders given to Suppliers."),
29 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053030 ]
31 },
32 {
33 "label": _("Supplier"),
34 "items": [
35 {
36 "type": "doctype",
37 "name": "Supplier",
38 "description": _("Supplier database."),
39 },
40 {
41 "type": "doctype",
42 "name": "Supplier Type",
43 "description": _("Supplier Type master.")
44 },
Anand Doshi08ef4672014-05-08 11:43:18 +053045 {
46 "type": "doctype",
47 "name": "Contact",
48 "description": _("All Contacts."),
49 },
50 {
51 "type": "doctype",
52 "name": "Address",
53 "description": _("All Addresses."),
54 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053055
Anand Doshi08ef4672014-05-08 11:43:18 +053056 ]
57 },
58 {
59 "label": _("Setup"),
60 "icon": "icon-cog",
61 "items": [
62 {
63 "type": "doctype",
64 "name": "Buying Settings",
65 "description": _("Default settings for buying transactions.")
66 },
67 {
68 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053069 "name":"Terms and Conditions",
70 "label": _("Terms and Conditions Template"),
71 "description": _("Template of terms or contract.")
72 },
73 {
74 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +053075 "name": "Purchase Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +053076 "description": _("Tax template for buying transactions.")
77 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053078 ]
79 },
80 {
81 "label": _("Items and Pricing"),
82 "items": [
83 {
84 "type": "doctype",
85 "name": "Item",
86 "description": _("All Products or Services."),
87 },
88 {
89 "type": "doctype",
90 "name": "Product Bundle",
91 "description": _("Bundle items at time of sale."),
92 },
Anand Doshi08ef4672014-05-08 11:43:18 +053093 {
94 "type": "doctype",
95 "name": "Price List",
96 "description": _("Price List master.")
97 },
98 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053099 "type": "page",
Saurabh17022732016-06-21 13:19:17 +0530100 "name": "Tree",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530101 "icon": "icon-sitemap",
102 "label": _("Item Group"),
Saurabh17022732016-06-21 13:19:17 +0530103 "link": "Tree/Item Group",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530104 "description": _("Tree of Item Groups."),
105 "doctype": "Item Group",
106 },
107 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530108 "type": "doctype",
109 "name": "Item Price",
110 "description": _("Multiple Item prices."),
111 "route": "Report/Item Price"
112 },
113 {
114 "type": "doctype",
115 "name": "Pricing Rule",
116 "description": _("Rules for applying pricing and discount.")
117 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530118
Anand Doshi08ef4672014-05-08 11:43:18 +0530119 ]
120 },
121 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530122 "label": _("Analytics"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530123 "icon": "icon-table",
124 "items": [
125 {
126 "type": "page",
127 "name": "purchase-analytics",
128 "label": _("Purchase Analytics"),
129 "icon": "icon-bar-chart",
130 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530131 {
132 "type": "report",
133 "is_query_report": True,
134 "name": "Supplier-Wise Sales Analytics",
135 "doctype": "Stock Ledger Entry"
136 },
137 {
138 "type": "report",
139 "is_query_report": True,
140 "name": "Purchase Order Trends",
141 "doctype": "Purchase Order"
142 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530143 ]
144 },
145 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530146 "label": _("Other Reports"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530147 "icon": "icon-list",
148 "items": [
149 {
150 "type": "report",
151 "is_query_report": True,
152 "name": "Items To Be Requested",
153 "doctype": "Item"
154 },
155 {
156 "type": "report",
157 "is_query_report": True,
158 "name": "Requested Items To Be Ordered",
159 "doctype": "Material Request"
160 },
161 {
162 "type": "report",
163 "is_query_report": True,
164 "name": "Material Requests for which Supplier Quotations are not created",
165 "doctype": "Material Request"
166 },
167 {
168 "type": "report",
169 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530170 "name": "Item-wise Purchase History",
171 "doctype": "Item"
172 },
173 {
174 "type": "report",
175 "is_query_report": True,
Anand Doshie8c5cb82014-07-14 13:10:24 +0530176 "name": "Supplier Addresses and Contacts",
Anand Doshi08ef4672014-05-08 11:43:18 +0530177 "doctype": "Supplier"
178 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530179 ]
180 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530181 {
182 "label": _("Help"),
183 "items": [
184 {
185 "type": "help",
186 "label": _("Customer and Supplier"),
187 "youtube_id": "anoGi_RpQ20"
188 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530189 {
190 "type": "help",
191 "label": _("Material Request to Purchase Order"),
192 "youtube_id": "4TN9kPyfIqM"
193 },
194 {
195 "type": "help",
196 "label": _("Purchase Order to Payment"),
197 "youtube_id": "EK65tLdVUDk"
198 },
199 {
200 "type": "help",
201 "label": _("Managing Subcontracting"),
202 "youtube_id": "ThiMCC2DtKo"
203 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530204 ]
205 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530206 ]