blob: 16b49a1e5780d52f277929f84507b12ac9b8ddb7 [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",
marination24f46832020-02-28 12:58:41 +053012 "name": "Material Request",
13 "onboard": 1,
14 "dependencies": ["Item"],
15 "description": _("Request for purchase."),
16 },
17 {
18 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053019 "name": "Purchase Order",
20 "onboard": 1,
21 "dependencies": ["Item", "Supplier"],
22 "description": _("Purchase Orders given to Suppliers."),
23 },
24 {
25 "type": "doctype",
Rohit Waghchaure354d0af2019-08-28 17:51:31 +053026 "name": "Purchase Invoice",
27 "onboard": 1,
28 "dependencies": ["Item", "Supplier"]
29 },
30 {
31 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053032 "name": "Request for Quotation",
33 "onboard": 1,
34 "dependencies": ["Item", "Supplier"],
35 "description": _("Request for quotation."),
36 },
37 {
38 "type": "doctype",
39 "name": "Supplier Quotation",
40 "dependencies": ["Item", "Supplier"],
41 "description": _("Quotations received from Suppliers."),
42 },
43 ]
44 },
45 {
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053046 "label": _("Items and Pricing"),
47 "items": [
48 {
49 "type": "doctype",
50 "name": "Item",
51 "onboard": 1,
52 "description": _("All Products or Services."),
53 },
54 {
55 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053056 "name": "Item Price",
57 "description": _("Multiple Item prices."),
58 "onboard": 1,
Himanshu Warekar3315a9f2019-02-28 11:51:36 +053059 "route": "#Report/Item Price"
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053060 },
61 {
62 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053063 "name": "Price List",
64 "description": _("Price List master.")
65 },
66 {
67 "type": "doctype",
marination24f46832020-02-28 12:58:41 +053068 "name": "Pricing Rule",
69 "description": _("Rules for applying pricing and discount.")
70 },
71 {
72 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053073 "name": "Product Bundle",
74 "description": _("Bundle items at time of sale."),
75 },
76 {
77 "type": "doctype",
78 "name": "Item Group",
79 "icon": "fa fa-sitemap",
80 "label": _("Item Group"),
81 "link": "Tree/Item Group",
82 "description": _("Tree of Item Groups."),
83 },
84 {
85 "type": "doctype",
Rohit Waghchaure1ecc7822019-06-14 17:29:26 +053086 "name": "Promotional Scheme",
87 "description": _("Rules for applying different promotional schemes.")
Rohit Waghchaure1ecc7822019-06-14 17:29:26 +053088 }
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053089 ]
90 },
91 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +053092 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +053093 "icon": "fa fa-cog",
Anand Doshi08ef4672014-05-08 11:43:18 +053094 "items": [
95 {
96 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053097 "name": "Buying Settings",
Prateeksha Singh8aa45942019-03-04 14:00:02 +053098 "settings": 1,
Prateeksha Singh34234072019-02-07 09:18:24 +053099 "description": _("Default settings for buying transactions.")
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530100 },
101 {
102 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530103 "name": "Purchase Taxes and Charges Template",
104 "description": _("Tax template for buying transactions.")
Anand Doshi08ef4672014-05-08 11:43:18 +0530105 },
106 {
107 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530108 "name":"Terms and Conditions",
109 "label": _("Terms and Conditions Template"),
110 "description": _("Template of terms or contract.")
Anand Doshi08ef4672014-05-08 11:43:18 +0530111 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530112 ]
113 },
114 {
115 "label": _("Supplier"),
116 "items": [
117 {
118 "type": "doctype",
119 "name": "Supplier",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +0530120 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530121 "description": _("Supplier database."),
122 },
123 {
124 "type": "doctype",
Zlash6589070782018-04-19 18:37:29 +0530125 "name": "Supplier Group",
126 "description": _("Supplier Group master.")
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530127 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530128 {
129 "type": "doctype",
130 "name": "Contact",
131 "description": _("All Contacts."),
132 },
133 {
134 "type": "doctype",
135 "name": "Address",
136 "description": _("All Addresses."),
137 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530138
Anand Doshi08ef4672014-05-08 11:43:18 +0530139 ]
140 },
141 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530142 "label": _("Key Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530143 "icon": "fa fa-table",
Anand Doshi08ef4672014-05-08 11:43:18 +0530144 "items": [
145 {
Deepesh Garga057f4c2018-11-12 17:01:02 +0530146 "type": "report",
147 "is_query_report": True,
148 "name": "Purchase Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530149 "reference_doctype": "Purchase Order",
150 "onboard": 1
Anand Doshi08ef4672014-05-08 11:43:18 +0530151 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530152 {
153 "type": "report",
154 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530155 "name": "Purchase Order Trends",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530156 "reference_doctype": "Purchase Order",
157 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530158 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530159 {
160 "type": "report",
161 "is_query_report": True,
Mangesh-Khairnar16a04582019-07-22 11:16:40 +0530162 "name": "Procurement Tracker",
163 "reference_doctype": "Purchase Order",
164 "onboard": 1,
165 },
166 {
167 "type": "report",
168 "is_query_report": True,
marination4a73bc62020-05-06 18:34:07 +0530169 "name": "Requested Items To Order",
Prateeksha Singh34234072019-02-07 09:18:24 +0530170 "reference_doctype": "Material Request",
171 "onboard": 1,
172 },
marination24f46832020-02-28 12:58:41 +0530173 {
174 "type": "report",
175 "is_query_report": True,
176 "name": "Address And Contacts",
177 "label": _("Supplier Addresses And Contacts"),
178 "reference_doctype": "Address",
179 "route_options": {
180 "party_type": "Supplier"
181 }
182 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530183 ]
184 },
185 {
bcornwellmott96381da2017-07-24 10:12:30 -0700186 "label": _("Supplier Scorecard"),
187 "items": [
188 {
189 "type": "doctype",
190 "name": "Supplier Scorecard",
191 "description": _("All Supplier scorecards."),
192 },
193 {
194 "type": "doctype",
195 "name": "Supplier Scorecard Variable",
196 "description": _("Templates of supplier scorecard variables.")
197 },
198 {
199 "type": "doctype",
200 "name": "Supplier Scorecard Criteria",
201 "description": _("Templates of supplier scorecard criteria."),
202 },
203 {
204 "type": "doctype",
205 "name": "Supplier Scorecard Standing",
206 "description": _("Templates of supplier standings."),
207 },
208
209 ]
210 },
211 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530212 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530213 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530214 "items": [
215 {
216 "type": "report",
217 "is_query_report": True,
218 "name": "Items To Be Requested",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530219 "reference_doctype": "Item",
220 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530221 },
222 {
223 "type": "report",
224 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530225 "name": "Item-wise Purchase History",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530226 "reference_doctype": "Item",
227 "onboard": 1,
228 },
229 {
230 "type": "report",
231 "is_query_report": True,
marination24f46832020-02-28 12:58:41 +0530232 "name": "Supplier-Wise Sales Analytics",
233 "reference_doctype": "Stock Ledger Entry",
234 "onboard": 1
Anand Doshi08ef4672014-05-08 11:43:18 +0530235 },
236 {
237 "type": "report",
238 "is_query_report": True,
marination24f46832020-02-28 12:58:41 +0530239 "name": "Material Requests for which Supplier Quotations are not created",
240 "reference_doctype": "Material Request"
Shreya Shah51034542018-06-05 10:44:36 +0530241 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530242 ]
243 },
Mangesh-Khairnar16a04582019-07-22 11:16:40 +0530244
Anand Doshi08ef4672014-05-08 11:43:18 +0530245 ]