blob: ba3492330eb58ea7c11733cc3977a787a0b154d0 [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",
Rohit Waghchaure1ecc7822019-06-14 17:29:26 +053075 "name": "Promotional Scheme",
76 "description": _("Rules for applying different promotional schemes.")
77 },
78 {
79 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053080 "name": "Pricing Rule",
81 "description": _("Rules for applying pricing and discount.")
Rohit Waghchaure1ecc7822019-06-14 17:29:26 +053082 }
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053083 ]
84 },
85 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +053086 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +053087 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +053088 "items": [
89 {
90 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053091 "name": "Buying Settings",
Prateeksha Singh8aa45942019-03-04 14:00:02 +053092 "settings": 1,
Prateeksha Singh34234072019-02-07 09:18:24 +053093 "description": _("Default settings for buying transactions.")
Prateeksha Singh063af4e2019-02-06 17:02:41 +053094 },
95 {
96 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053097 "name": "Purchase Taxes and Charges Template",
98 "description": _("Tax template for buying transactions.")
Anand Doshi08ef4672014-05-08 11:43:18 +053099 },
100 {
101 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530102 "name":"Terms and Conditions",
103 "label": _("Terms and Conditions Template"),
104 "description": _("Template of terms or contract.")
Anand Doshi08ef4672014-05-08 11:43:18 +0530105 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530106 ]
107 },
108 {
109 "label": _("Supplier"),
110 "items": [
111 {
112 "type": "doctype",
113 "name": "Supplier",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +0530114 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530115 "description": _("Supplier database."),
116 },
117 {
118 "type": "doctype",
Zlash6589070782018-04-19 18:37:29 +0530119 "name": "Supplier Group",
120 "description": _("Supplier Group master.")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530121 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530122 {
123 "type": "doctype",
124 "name": "Contact",
125 "description": _("All Contacts."),
126 },
127 {
128 "type": "doctype",
129 "name": "Address",
130 "description": _("All Addresses."),
131 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530132
Anand Doshi08ef4672014-05-08 11:43:18 +0530133 ]
134 },
135 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530136 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530137 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530138 "items": [
139 {
Deepesh Garga057f4c2018-11-12 17:01:02 +0530140 "type": "report",
141 "is_query_report": True,
142 "name": "Purchase Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530143 "reference_doctype": "Purchase Order",
144 "onboard": 1
Anand Doshi08ef4672014-05-08 11:43:18 +0530145 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530146 {
147 "type": "report",
148 "is_query_report": True,
149 "name": "Supplier-Wise Sales Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530150 "reference_doctype": "Stock Ledger Entry",
151 "onboard": 1
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530152 },
153 {
154 "type": "report",
155 "is_query_report": True,
156 "name": "Purchase Order Trends",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530157 "reference_doctype": "Purchase Order",
158 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530159 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530160 {
161 "type": "report",
162 "is_query_report": True,
163 "name": "Requested Items To Be Ordered",
164 "reference_doctype": "Material Request",
165 "onboard": 1,
166 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530167 ]
168 },
169 {
bcornwellmott96381da2017-07-24 10:12:30 -0700170 "label": _("Supplier Scorecard"),
171 "items": [
172 {
173 "type": "doctype",
174 "name": "Supplier Scorecard",
175 "description": _("All Supplier scorecards."),
176 },
177 {
178 "type": "doctype",
179 "name": "Supplier Scorecard Variable",
180 "description": _("Templates of supplier scorecard variables.")
181 },
182 {
183 "type": "doctype",
184 "name": "Supplier Scorecard Criteria",
185 "description": _("Templates of supplier scorecard criteria."),
186 },
187 {
188 "type": "doctype",
189 "name": "Supplier Scorecard Standing",
190 "description": _("Templates of supplier standings."),
191 },
192
193 ]
194 },
195 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530196 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530197 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530198 "items": [
199 {
200 "type": "report",
201 "is_query_report": True,
202 "name": "Items To Be Requested",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530203 "reference_doctype": "Item",
204 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530205 },
206 {
207 "type": "report",
208 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530209 "name": "Item-wise Purchase History",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530210 "reference_doctype": "Item",
211 "onboard": 1,
212 },
213 {
214 "type": "report",
215 "is_query_report": True,
216 "name": "Material Requests for which Supplier Quotations are not created",
217 "reference_doctype": "Material Request"
Anand Doshi08ef4672014-05-08 11:43:18 +0530218 },
219 {
220 "type": "report",
221 "is_query_report": True,
Shreya Shah51034542018-06-05 10:44:36 +0530222 "name": "Address And Contacts",
Aditya Hased825ee52019-06-28 14:36:53 +0530223 "label": _("Supplier Addresses And Contacts"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530224 "reference_doctype": "Address",
mbauskarcbc49e22017-01-19 17:45:22 +0530225 "route_options": {
226 "party_type": "Supplier"
227 }
Shreya Shah51034542018-06-05 10:44:36 +0530228 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530229 ]
230 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530231 {
232 "label": _("Help"),
233 "items": [
234 {
235 "type": "help",
236 "label": _("Customer and Supplier"),
237 "youtube_id": "anoGi_RpQ20"
238 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530239 {
240 "type": "help",
241 "label": _("Material Request to Purchase Order"),
242 "youtube_id": "4TN9kPyfIqM"
243 },
244 {
245 "type": "help",
246 "label": _("Purchase Order to Payment"),
247 "youtube_id": "EK65tLdVUDk"
248 },
249 {
250 "type": "help",
251 "label": _("Managing Subcontracting"),
252 "youtube_id": "ThiMCC2DtKo"
253 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530254 ]
255 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530256 ]