blob: ba29125ca0e0c977761ee8a8591a187e16f9d796 [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"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05308 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +05309 "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"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053060 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +053061 "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 {
Saurabh52ec0ed2016-07-05 18:02:38 +053099 "type": "doctype",
100 "name": "Item Group",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530101 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530102 "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."),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530105 },
106 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530107 "type": "doctype",
108 "name": "Item Price",
109 "description": _("Multiple Item prices."),
110 "route": "Report/Item Price"
111 },
112 {
113 "type": "doctype",
114 "name": "Pricing Rule",
115 "description": _("Rules for applying pricing and discount.")
116 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530117
Anand Doshi08ef4672014-05-08 11:43:18 +0530118 ]
119 },
120 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530121 "label": _("Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530122 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530123 "items": [
124 {
125 "type": "page",
126 "name": "purchase-analytics",
127 "label": _("Purchase Analytics"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530128 "icon": "fa fa-bar-chart",
Anand Doshi08ef4672014-05-08 11:43:18 +0530129 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530130 {
131 "type": "report",
132 "is_query_report": True,
133 "name": "Supplier-Wise Sales Analytics",
134 "doctype": "Stock Ledger Entry"
135 },
136 {
137 "type": "report",
138 "is_query_report": True,
139 "name": "Purchase Order Trends",
140 "doctype": "Purchase Order"
141 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530142 ]
143 },
144 {
bcornwellmott96381da2017-07-24 10:12:30 -0700145 "label": _("Supplier Scorecard"),
146 "items": [
147 {
148 "type": "doctype",
149 "name": "Supplier Scorecard",
150 "description": _("All Supplier scorecards."),
151 },
152 {
153 "type": "doctype",
154 "name": "Supplier Scorecard Variable",
155 "description": _("Templates of supplier scorecard variables.")
156 },
157 {
158 "type": "doctype",
159 "name": "Supplier Scorecard Criteria",
160 "description": _("Templates of supplier scorecard criteria."),
161 },
162 {
163 "type": "doctype",
164 "name": "Supplier Scorecard Standing",
165 "description": _("Templates of supplier standings."),
166 },
167
168 ]
169 },
170 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530171 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530172 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530173 "items": [
174 {
175 "type": "report",
176 "is_query_report": True,
177 "name": "Items To Be Requested",
178 "doctype": "Item"
179 },
180 {
181 "type": "report",
182 "is_query_report": True,
183 "name": "Requested Items To Be Ordered",
184 "doctype": "Material Request"
185 },
186 {
187 "type": "report",
188 "is_query_report": True,
189 "name": "Material Requests for which Supplier Quotations are not created",
190 "doctype": "Material Request"
191 },
192 {
193 "type": "report",
194 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530195 "name": "Item-wise Purchase History",
196 "doctype": "Item"
197 },
198 {
199 "type": "report",
200 "is_query_report": True,
mbauskarcbc49e22017-01-19 17:45:22 +0530201 "name": "Addresses And Contacts",
202 "label": "Supplier Addresses And Contacts",
203 "doctype": "Address",
204 "route_options": {
205 "party_type": "Supplier"
206 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530207 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530208 ]
209 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530210 {
211 "label": _("Help"),
212 "items": [
213 {
214 "type": "help",
215 "label": _("Customer and Supplier"),
216 "youtube_id": "anoGi_RpQ20"
217 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530218 {
219 "type": "help",
220 "label": _("Material Request to Purchase Order"),
221 "youtube_id": "4TN9kPyfIqM"
222 },
223 {
224 "type": "help",
225 "label": _("Purchase Order to Payment"),
226 "youtube_id": "EK65tLdVUDk"
227 },
228 {
229 "type": "help",
230 "label": _("Managing Subcontracting"),
231 "youtube_id": "ThiMCC2DtKo"
232 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530233 ]
234 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530235 ]