blob: 6f5ab32b631834e78b5781c153fbf09a0f7d34a8 [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",
Rohit Waghchaure354d0af2019-08-28 17:51:31 +053019 "name": "Purchase Invoice",
20 "onboard": 1,
21 "dependencies": ["Item", "Supplier"]
22 },
23 {
24 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053025 "name": "Material Request",
26 "onboard": 1,
27 "dependencies": ["Item"],
28 "description": _("Request for purchase."),
29 },
30 {
31 "type": "doctype",
32 "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",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053068 "name": "Product Bundle",
69 "description": _("Bundle items at time of sale."),
70 },
71 {
72 "type": "doctype",
73 "name": "Item Group",
74 "icon": "fa fa-sitemap",
75 "label": _("Item Group"),
76 "link": "Tree/Item Group",
77 "description": _("Tree of Item Groups."),
78 },
79 {
80 "type": "doctype",
Rohit Waghchaure1ecc7822019-06-14 17:29:26 +053081 "name": "Promotional Scheme",
82 "description": _("Rules for applying different promotional schemes.")
83 },
84 {
85 "type": "doctype",
Prateeksha Singhb5eb16f2019-01-31 14:50:22 +053086 "name": "Pricing Rule",
87 "description": _("Rules for applying pricing and discount.")
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,
155 "name": "Supplier-Wise Sales Analytics",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530156 "reference_doctype": "Stock Ledger Entry",
157 "onboard": 1
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530158 },
159 {
160 "type": "report",
161 "is_query_report": True,
162 "name": "Purchase Order Trends",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530163 "reference_doctype": "Purchase Order",
164 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530165 },
Prateeksha Singh34234072019-02-07 09:18:24 +0530166 {
167 "type": "report",
168 "is_query_report": True,
Mangesh-Khairnar16a04582019-07-22 11:16:40 +0530169 "name": "Procurement Tracker",
170 "reference_doctype": "Purchase Order",
171 "onboard": 1,
172 },
173 {
174 "type": "report",
175 "is_query_report": True,
Prateeksha Singh34234072019-02-07 09:18:24 +0530176 "name": "Requested Items To Be Ordered",
177 "reference_doctype": "Material Request",
178 "onboard": 1,
179 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530180 ]
181 },
182 {
bcornwellmott96381da2017-07-24 10:12:30 -0700183 "label": _("Supplier Scorecard"),
184 "items": [
185 {
186 "type": "doctype",
187 "name": "Supplier Scorecard",
188 "description": _("All Supplier scorecards."),
189 },
190 {
191 "type": "doctype",
192 "name": "Supplier Scorecard Variable",
193 "description": _("Templates of supplier scorecard variables.")
194 },
195 {
196 "type": "doctype",
197 "name": "Supplier Scorecard Criteria",
198 "description": _("Templates of supplier scorecard criteria."),
199 },
200 {
201 "type": "doctype",
202 "name": "Supplier Scorecard Standing",
203 "description": _("Templates of supplier standings."),
204 },
205
206 ]
207 },
208 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530209 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530210 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530211 "items": [
212 {
213 "type": "report",
214 "is_query_report": True,
215 "name": "Items To Be Requested",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530216 "reference_doctype": "Item",
217 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530218 },
219 {
220 "type": "report",
221 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530222 "name": "Item-wise Purchase History",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530223 "reference_doctype": "Item",
224 "onboard": 1,
225 },
226 {
227 "type": "report",
228 "is_query_report": True,
229 "name": "Material Requests for which Supplier Quotations are not created",
230 "reference_doctype": "Material Request"
Anand Doshi08ef4672014-05-08 11:43:18 +0530231 },
232 {
233 "type": "report",
234 "is_query_report": True,
Shreya Shah51034542018-06-05 10:44:36 +0530235 "name": "Address And Contacts",
Aditya Hased825ee52019-06-28 14:36:53 +0530236 "label": _("Supplier Addresses And Contacts"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530237 "reference_doctype": "Address",
mbauskarcbc49e22017-01-19 17:45:22 +0530238 "route_options": {
239 "party_type": "Supplier"
240 }
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 ]