blob: 990ca7a8ba4352361d70fae9a95769660e2acf3e [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 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530145 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530146 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +0530147 "items": [
148 {
149 "type": "report",
150 "is_query_report": True,
151 "name": "Items To Be Requested",
152 "doctype": "Item"
153 },
154 {
155 "type": "report",
156 "is_query_report": True,
157 "name": "Requested Items To Be Ordered",
158 "doctype": "Material Request"
159 },
160 {
161 "type": "report",
162 "is_query_report": True,
163 "name": "Material Requests for which Supplier Quotations are not created",
164 "doctype": "Material Request"
165 },
166 {
167 "type": "report",
168 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530169 "name": "Item-wise Purchase History",
170 "doctype": "Item"
171 },
172 {
173 "type": "report",
174 "is_query_report": True,
mbauskarcbc49e22017-01-19 17:45:22 +0530175 "name": "Addresses And Contacts",
176 "label": "Supplier Addresses And Contacts",
177 "doctype": "Address",
178 "route_options": {
179 "party_type": "Supplier"
180 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530181 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530182 ]
183 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530184 {
185 "label": _("Help"),
186 "items": [
187 {
188 "type": "help",
189 "label": _("Customer and Supplier"),
190 "youtube_id": "anoGi_RpQ20"
191 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530192 {
193 "type": "help",
194 "label": _("Material Request to Purchase Order"),
195 "youtube_id": "4TN9kPyfIqM"
196 },
197 {
198 "type": "help",
199 "label": _("Purchase Order to Payment"),
200 "youtube_id": "EK65tLdVUDk"
201 },
202 {
203 "type": "help",
204 "label": _("Managing Subcontracting"),
205 "youtube_id": "ThiMCC2DtKo"
206 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530207 ]
208 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530209 ]