blob: 3c947cb7abb06e97a93aa78810904b5138e103d7 [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"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "icon": "icon-star",
9 "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"),
60 "icon": "icon-cog",
61 "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 Mehtad1e1c522016-03-08 18:06:21 +0530101 "icon": "icon-sitemap",
102 "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"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530122 "icon": "icon-table",
123 "items": [
124 {
125 "type": "page",
126 "name": "purchase-analytics",
127 "label": _("Purchase Analytics"),
128 "icon": "icon-bar-chart",
129 },
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"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530146 "icon": "icon-list",
147 "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,
Anand Doshie8c5cb82014-07-14 13:10:24 +0530175 "name": "Supplier Addresses and Contacts",
Anand Doshi08ef4672014-05-08 11:43:18 +0530176 "doctype": "Supplier"
177 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530178 ]
179 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530180 {
181 "label": _("Help"),
182 "items": [
183 {
184 "type": "help",
185 "label": _("Customer and Supplier"),
186 "youtube_id": "anoGi_RpQ20"
187 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530188 {
189 "type": "help",
190 "label": _("Material Request to Purchase Order"),
191 "youtube_id": "4TN9kPyfIqM"
192 },
193 {
194 "type": "help",
195 "label": _("Purchase Order to Payment"),
196 "youtube_id": "EK65tLdVUDk"
197 },
198 {
199 "type": "help",
200 "label": _("Managing Subcontracting"),
201 "youtube_id": "ThiMCC2DtKo"
202 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530203 ]
204 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530205 ]