blob: 264f88f9c10455bbbedea15ecf4f376f88070aff [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 {
Prateeksha Singh34234072019-02-07 09:18:24 +05307 "label": _("Purchasing"),
8 "icon": "fa fa-star",
9 "items": [
10 {
11 "type": "doctype",
12 "name": "Purchase Order",
13 "onboard": 1,
14 "dependencies": ["Item", "Supplier"],
15 "description": _("Purchase Orders given to Suppliers."),
16 },
17 {
18 "type": "doctype",
19 "name": "Material Request",
20 "onboard": 1,
21 "dependencies": ["Item"],
22 "description": _("Request for purchase."),
23 },
24 {
25 "type": "doctype",
26 "name": "Request for Quotation",
27 "onboard": 1,
28 "dependencies": ["Item", "Supplier"],
29 "description": _("Request for quotation."),
30 },
31 {
32 "type": "doctype",
33 "name": "Supplier Quotation",
34 "dependencies": ["Item", "Supplier"],
35 "description": _("Quotations received from Suppliers."),
36 },
37 ]
38 },
39 {
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053040 "label": _("Items and Pricing"),
41 "items": [
42 {
43 "type": "doctype",
44 "name": "Item",
45 "onboard": 1,
46 "description": _("All Products or Services."),
47 },
48 {
49 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053050 "name": "Item Price",
51 "description": _("Multiple Item prices."),
52 "onboard": 1,
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053053 "route": "#Report/Item Price"
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053054 },
55 {
56 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053057 "name": "Price List",
58 "description": _("Price List master.")
59 },
60 {
61 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053062 "name": "Product Bundle",
63 "description": _("Bundle items at time of sale."),
64 },
65 {
66 "type": "doctype",
67 "name": "Item Group",
68 "icon": "fa fa-sitemap",
69 "label": _("Item Group"),
70 "link": "Tree/Item Group",
71 "description": _("Tree of Item Groups."),
72 },
73 {
74 "type": "doctype",
75 "name": "Pricing Rule",
76 "description": _("Rules for applying pricing and discount.")
77 },
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053078 ]
79 },
80 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +053081 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +053082 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +053083 "items": [
84 {
85 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053086 "name": "Buying Settings",
Prateeksha Singh8aa45942019-03-04 14:00:02 +053087 "settings": 1,
Prateeksha Singh34234072019-02-07 09:18:24 +053088 "description": _("Default settings for buying transactions.")
Prateeksha Singh063af4e2019-02-06 17:02:41 +053089 },
90 {
91 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053092 "name": "Purchase Taxes and Charges Template",
93 "description": _("Tax template for buying transactions.")
Anand Doshi08ef4672014-05-08 11:43:18 +053094 },
95 {
96 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053097 "name":"Terms and Conditions",
98 "label": _("Terms and Conditions Template"),
99 "description": _("Template of terms or contract.")
Anand Doshi08ef4672014-05-08 11:43:18 +0530100 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530101 ]
102 },
103 {
104 "label": _("Supplier"),
105 "items": [
106 {
107 "type": "doctype",
108 "name": "Supplier",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +0530109 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530110 "description": _("Supplier database."),
111 },
112 {
113 "type": "doctype",
Zlash6589070782018-04-19 18:37:29 +0530114 "name": "Supplier Group",
115 "description": _("Supplier Group master.")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530116 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530117 {
118 "type": "doctype",
119 "name": "Contact",
120 "description": _("All Contacts."),
121 },
122 {
123 "type": "doctype",
124 "name": "Address",
125 "description": _("All Addresses."),
126 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530127
Anand Doshi08ef4672014-05-08 11:43:18 +0530128 ]
129 },
130 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530131 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530132 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530133 "items": [
134 {
Deepesh Garga057f4c2018-11-12 17:01:02 +0530135 "type": "report",
136 "is_query_report": True,
137 "name": "Purchase Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530138 "reference_doctype": "Purchase Order",
139 "onboard": 1
Anand Doshi08ef4672014-05-08 11:43:18 +0530140 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530141 {
142 "type": "report",
143 "is_query_report": True,
144 "name": "Supplier-Wise Sales Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530145 "reference_doctype": "Stock Ledger Entry",
146 "onboard": 1
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530147 },
148 {
149 "type": "report",
150 "is_query_report": True,
151 "name": "Purchase Order Trends",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530152 "reference_doctype": "Purchase Order",
153 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530154 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530155 {
156 "type": "report",
157 "is_query_report": True,
158 "name": "Requested Items To Be Ordered",
159 "reference_doctype": "Material Request",
160 "onboard": 1,
161 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530162 ]
163 },
164 {
bcornwellmott96381da2017-07-24 10:12:30 -0700165 "label": _("Supplier Scorecard"),
166 "items": [
167 {
168 "type": "doctype",
169 "name": "Supplier Scorecard",
170 "description": _("All Supplier scorecards."),
171 },
172 {
173 "type": "doctype",
174 "name": "Supplier Scorecard Variable",
175 "description": _("Templates of supplier scorecard variables.")
176 },
177 {
178 "type": "doctype",
179 "name": "Supplier Scorecard Criteria",
180 "description": _("Templates of supplier scorecard criteria."),
181 },
182 {
183 "type": "doctype",
184 "name": "Supplier Scorecard Standing",
185 "description": _("Templates of supplier standings."),
186 },
187
188 ]
189 },
190 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530191 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530192 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530193 "items": [
194 {
195 "type": "report",
196 "is_query_report": True,
197 "name": "Items To Be Requested",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530198 "reference_doctype": "Item",
199 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530200 },
201 {
202 "type": "report",
203 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530204 "name": "Item-wise Purchase History",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530205 "reference_doctype": "Item",
206 "onboard": 1,
207 },
208 {
209 "type": "report",
210 "is_query_report": True,
211 "name": "Material Requests for which Supplier Quotations are not created",
212 "reference_doctype": "Material Request"
Anand Doshi08ef4672014-05-08 11:43:18 +0530213 },
214 {
215 "type": "report",
216 "is_query_report": True,
Shreya Shah51034542018-06-05 10:44:36 +0530217 "name": "Address And Contacts",
mbauskarcbc49e22017-01-19 17:45:22 +0530218 "label": "Supplier Addresses And Contacts",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530219 "reference_doctype": "Address",
mbauskarcbc49e22017-01-19 17:45:22 +0530220 "route_options": {
221 "party_type": "Supplier"
222 }
Shreya Shah51034542018-06-05 10:44:36 +0530223 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530224 ]
225 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530226 {
227 "label": _("Help"),
228 "items": [
229 {
230 "type": "help",
231 "label": _("Customer and Supplier"),
232 "youtube_id": "anoGi_RpQ20"
233 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530234 {
235 "type": "help",
236 "label": _("Material Request to Purchase Order"),
237 "youtube_id": "4TN9kPyfIqM"
238 },
239 {
240 "type": "help",
241 "label": _("Purchase Order to Payment"),
242 "youtube_id": "EK65tLdVUDk"
243 },
244 {
245 "type": "help",
246 "label": _("Managing Subcontracting"),
247 "youtube_id": "ThiMCC2DtKo"
248 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530249 ]
250 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530251 ]