Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 7 | "label": _("Purchasing"), |
| 8 | "icon": "fa fa-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
marination | 24f4683 | 2020-02-28 12:58:41 +0530 | [diff] [blame] | 12 | "name": "Material Request", |
| 13 | "onboard": 1, |
| 14 | "dependencies": ["Item"], |
| 15 | "description": _("Request for purchase."), |
| 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 19 | "name": "Purchase Order", |
| 20 | "onboard": 1, |
| 21 | "dependencies": ["Item", "Supplier"], |
| 22 | "description": _("Purchase Orders given to Suppliers."), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
Rohit Waghchaure | 354d0af | 2019-08-28 17:51:31 +0530 | [diff] [blame] | 26 | "name": "Purchase Invoice", |
| 27 | "onboard": 1, |
| 28 | "dependencies": ["Item", "Supplier"] |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 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 Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 46 | "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 Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 56 | "name": "Item Price", |
| 57 | "description": _("Multiple Item prices."), |
| 58 | "onboard": 1, |
Himanshu Warekar | 3315a9f | 2019-02-28 11:51:36 +0530 | [diff] [blame] | 59 | "route": "#Report/Item Price" |
Prateeksha Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 60 | }, |
| 61 | { |
| 62 | "type": "doctype", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 63 | "name": "Price List", |
| 64 | "description": _("Price List master.") |
| 65 | }, |
| 66 | { |
| 67 | "type": "doctype", |
marination | 24f4683 | 2020-02-28 12:58:41 +0530 | [diff] [blame] | 68 | "name": "Pricing Rule", |
| 69 | "description": _("Rules for applying pricing and discount.") |
| 70 | }, |
| 71 | { |
| 72 | "type": "doctype", |
Prateeksha Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 73 | "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 Waghchaure | 1ecc782 | 2019-06-14 17:29:26 +0530 | [diff] [blame] | 86 | "name": "Promotional Scheme", |
| 87 | "description": _("Rules for applying different promotional schemes.") |
Rohit Waghchaure | 1ecc782 | 2019-06-14 17:29:26 +0530 | [diff] [blame] | 88 | } |
Prateeksha Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 89 | ] |
| 90 | }, |
| 91 | { |
Prateeksha Singh | 9d4a183 | 2019-02-11 15:14:50 +0530 | [diff] [blame] | 92 | "label": _("Settings"), |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 93 | "icon": "fa fa-cog", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 94 | "items": [ |
| 95 | { |
| 96 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 97 | "name": "Buying Settings", |
Prateeksha Singh | 8aa4594 | 2019-03-04 14:00:02 +0530 | [diff] [blame] | 98 | "settings": 1, |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 99 | "description": _("Default settings for buying transactions.") |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 100 | }, |
| 101 | { |
| 102 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 103 | "name": "Purchase Taxes and Charges Template", |
| 104 | "description": _("Tax template for buying transactions.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 105 | }, |
| 106 | { |
| 107 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 108 | "name":"Terms and Conditions", |
| 109 | "label": _("Terms and Conditions Template"), |
| 110 | "description": _("Template of terms or contract.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 111 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 112 | ] |
| 113 | }, |
| 114 | { |
| 115 | "label": _("Supplier"), |
| 116 | "items": [ |
| 117 | { |
| 118 | "type": "doctype", |
| 119 | "name": "Supplier", |
Prateeksha Singh | b5eb16f | 2019-01-31 14:50:22 +0530 | [diff] [blame] | 120 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 121 | "description": _("Supplier database."), |
| 122 | }, |
| 123 | { |
| 124 | "type": "doctype", |
Zlash65 | 8907078 | 2018-04-19 18:37:29 +0530 | [diff] [blame] | 125 | "name": "Supplier Group", |
| 126 | "description": _("Supplier Group master.") |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 127 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 128 | { |
| 129 | "type": "doctype", |
| 130 | "name": "Contact", |
| 131 | "description": _("All Contacts."), |
| 132 | }, |
| 133 | { |
| 134 | "type": "doctype", |
| 135 | "name": "Address", |
| 136 | "description": _("All Addresses."), |
| 137 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 138 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 139 | ] |
| 140 | }, |
| 141 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 142 | "label": _("Key Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 143 | "icon": "fa fa-table", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 144 | "items": [ |
| 145 | { |
Deepesh Garg | a057f4c | 2018-11-12 17:01:02 +0530 | [diff] [blame] | 146 | "type": "report", |
| 147 | "is_query_report": True, |
| 148 | "name": "Purchase Analytics", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 149 | "reference_doctype": "Purchase Order", |
| 150 | "onboard": 1 |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 151 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 152 | { |
| 153 | "type": "report", |
| 154 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 155 | "name": "Purchase Order Trends", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 156 | "reference_doctype": "Purchase Order", |
| 157 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 158 | }, |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 159 | { |
| 160 | "type": "report", |
| 161 | "is_query_report": True, |
Mangesh-Khairnar | 16a0458 | 2019-07-22 11:16:40 +0530 | [diff] [blame] | 162 | "name": "Procurement Tracker", |
| 163 | "reference_doctype": "Purchase Order", |
| 164 | "onboard": 1, |
| 165 | }, |
| 166 | { |
| 167 | "type": "report", |
| 168 | "is_query_report": True, |
marination | 4a73bc6 | 2020-05-06 18:34:07 +0530 | [diff] [blame] | 169 | "name": "Requested Items To Order", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 170 | "reference_doctype": "Material Request", |
| 171 | "onboard": 1, |
| 172 | }, |
marination | 24f4683 | 2020-02-28 12:58:41 +0530 | [diff] [blame] | 173 | { |
| 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 Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 183 | ] |
| 184 | }, |
| 185 | { |
bcornwellmott | 96381da | 2017-07-24 10:12:30 -0700 | [diff] [blame] | 186 | "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 Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 212 | "label": _("Other Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 213 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 214 | "items": [ |
| 215 | { |
| 216 | "type": "report", |
| 217 | "is_query_report": True, |
| 218 | "name": "Items To Be Requested", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 219 | "reference_doctype": "Item", |
| 220 | "onboard": 1, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 221 | }, |
| 222 | { |
| 223 | "type": "report", |
| 224 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 225 | "name": "Item-wise Purchase History", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 226 | "reference_doctype": "Item", |
| 227 | "onboard": 1, |
| 228 | }, |
| 229 | { |
| 230 | "type": "report", |
| 231 | "is_query_report": True, |
marination | 24f4683 | 2020-02-28 12:58:41 +0530 | [diff] [blame] | 232 | "name": "Supplier-Wise Sales Analytics", |
| 233 | "reference_doctype": "Stock Ledger Entry", |
| 234 | "onboard": 1 |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 235 | }, |
| 236 | { |
| 237 | "type": "report", |
| 238 | "is_query_report": True, |
marination | 24f4683 | 2020-02-28 12:58:41 +0530 | [diff] [blame] | 239 | "name": "Material Requests for which Supplier Quotations are not created", |
| 240 | "reference_doctype": "Material Request" |
Shreya Shah | 5103454 | 2018-06-05 10:44:36 +0530 | [diff] [blame] | 241 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 242 | ] |
| 243 | }, |
Mangesh-Khairnar | 16a0458 | 2019-07-22 11:16:40 +0530 | [diff] [blame] | 244 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 245 | ] |