blob: c259f06428faeeb7f5a10f9f135600184f5de3e8 [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",
17 "name": "Supplier Quotation",
18 "description": _("Quotations received from Suppliers."),
19 },
20 {
21 "type": "doctype",
22 "name": "Purchase Order",
23 "description": _("Purchase Orders given to Suppliers."),
24 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053025 ]
26 },
27 {
28 "label": _("Supplier"),
29 "items": [
30 {
31 "type": "doctype",
32 "name": "Supplier",
33 "description": _("Supplier database."),
34 },
35 {
36 "type": "doctype",
37 "name": "Supplier Type",
38 "description": _("Supplier Type master.")
39 },
Anand Doshi08ef4672014-05-08 11:43:18 +053040 {
41 "type": "doctype",
42 "name": "Contact",
43 "description": _("All Contacts."),
44 },
45 {
46 "type": "doctype",
47 "name": "Address",
48 "description": _("All Addresses."),
49 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053050
Anand Doshi08ef4672014-05-08 11:43:18 +053051 ]
52 },
53 {
54 "label": _("Setup"),
55 "icon": "icon-cog",
56 "items": [
57 {
58 "type": "doctype",
59 "name": "Buying Settings",
60 "description": _("Default settings for buying transactions.")
61 },
62 {
63 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053064 "name":"Terms and Conditions",
65 "label": _("Terms and Conditions Template"),
66 "description": _("Template of terms or contract.")
67 },
68 {
69 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +053070 "name": "Purchase Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +053071 "description": _("Tax template for buying transactions.")
72 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053073 ]
74 },
75 {
76 "label": _("Items and Pricing"),
77 "items": [
78 {
79 "type": "doctype",
80 "name": "Item",
81 "description": _("All Products or Services."),
82 },
83 {
84 "type": "doctype",
85 "name": "Product Bundle",
86 "description": _("Bundle items at time of sale."),
87 },
Anand Doshi08ef4672014-05-08 11:43:18 +053088 {
89 "type": "doctype",
90 "name": "Price List",
91 "description": _("Price List master.")
92 },
93 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053094 "type": "page",
95 "name": "Sales Browser",
96 "icon": "icon-sitemap",
97 "label": _("Item Group"),
98 "link": "Sales Browser/Item Group",
99 "description": _("Tree of Item Groups."),
100 "doctype": "Item Group",
101 },
102 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530103 "type": "doctype",
104 "name": "Item Price",
105 "description": _("Multiple Item prices."),
106 "route": "Report/Item Price"
107 },
108 {
109 "type": "doctype",
110 "name": "Pricing Rule",
111 "description": _("Rules for applying pricing and discount.")
112 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530113
Anand Doshi08ef4672014-05-08 11:43:18 +0530114 ]
115 },
116 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530117 "label": _("Analytics"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530118 "icon": "icon-table",
119 "items": [
120 {
121 "type": "page",
122 "name": "purchase-analytics",
123 "label": _("Purchase Analytics"),
124 "icon": "icon-bar-chart",
125 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530126 {
127 "type": "report",
128 "is_query_report": True,
129 "name": "Supplier-Wise Sales Analytics",
130 "doctype": "Stock Ledger Entry"
131 },
132 {
133 "type": "report",
134 "is_query_report": True,
135 "name": "Purchase Order Trends",
136 "doctype": "Purchase Order"
137 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530138 ]
139 },
140 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530141 "label": _("Other Reports"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530142 "icon": "icon-list",
143 "items": [
144 {
145 "type": "report",
146 "is_query_report": True,
147 "name": "Items To Be Requested",
148 "doctype": "Item"
149 },
150 {
151 "type": "report",
152 "is_query_report": True,
153 "name": "Requested Items To Be Ordered",
154 "doctype": "Material Request"
155 },
156 {
157 "type": "report",
158 "is_query_report": True,
159 "name": "Material Requests for which Supplier Quotations are not created",
160 "doctype": "Material Request"
161 },
162 {
163 "type": "report",
164 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530165 "name": "Item-wise Purchase History",
166 "doctype": "Item"
167 },
168 {
169 "type": "report",
170 "is_query_report": True,
Anand Doshie8c5cb82014-07-14 13:10:24 +0530171 "name": "Supplier Addresses and Contacts",
Anand Doshi08ef4672014-05-08 11:43:18 +0530172 "doctype": "Supplier"
173 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530174 ]
175 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530176 {
177 "label": _("Help"),
178 "items": [
179 {
180 "type": "help",
181 "label": _("Customer and Supplier"),
182 "youtube_id": "anoGi_RpQ20"
183 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +0530184 {
185 "type": "help",
186 "label": _("Material Request to Purchase Order"),
187 "youtube_id": "4TN9kPyfIqM"
188 },
189 {
190 "type": "help",
191 "label": _("Purchase Order to Payment"),
192 "youtube_id": "EK65tLdVUDk"
193 },
194 {
195 "type": "help",
196 "label": _("Managing Subcontracting"),
197 "youtube_id": "ThiMCC2DtKo"
198 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530199 ]
200 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530201 ]