Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
| 6 | "label": _("Documents"), |
| 7 | "icon": "icon-star", |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Supplier", |
| 12 | "description": _("Supplier database."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Material Request", |
| 17 | "description": _("Request for purchase."), |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Supplier Quotation", |
| 22 | "description": _("Quotations received from Suppliers."), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
| 26 | "name": "Purchase Order", |
| 27 | "description": _("Purchase Orders given to Suppliers."), |
| 28 | }, |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Contact", |
| 32 | "description": _("All Contacts."), |
| 33 | }, |
| 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Address", |
| 37 | "description": _("All Addresses."), |
| 38 | }, |
| 39 | { |
| 40 | "type": "doctype", |
| 41 | "name": "Item", |
| 42 | "description": _("All Products or Services."), |
| 43 | }, |
| 44 | ] |
| 45 | }, |
| 46 | { |
| 47 | "label": _("Setup"), |
| 48 | "icon": "icon-cog", |
| 49 | "items": [ |
| 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "Buying Settings", |
| 53 | "description": _("Default settings for buying transactions.") |
| 54 | }, |
| 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Supplier Type", |
| 58 | "description": _("Supplier Type master.") |
| 59 | }, |
| 60 | { |
| 61 | "type": "page", |
| 62 | "name": "Sales Browser", |
| 63 | "icon": "icon-sitemap", |
| 64 | "label": _("Item Group Tree"), |
| 65 | "link": "Sales Browser/Item Group", |
| 66 | "description": _("Tree of Item Groups."), |
| 67 | "doctype": "Item Group", |
| 68 | }, |
| 69 | { |
| 70 | "type": "doctype", |
| 71 | "name":"Terms and Conditions", |
| 72 | "label": _("Terms and Conditions Template"), |
| 73 | "description": _("Template of terms or contract.") |
| 74 | }, |
| 75 | { |
| 76 | "type": "doctype", |
| 77 | "name": "Purchase Taxes and Charges Master", |
| 78 | "description": _("Tax template for buying transactions.") |
| 79 | }, |
| 80 | { |
| 81 | "type": "doctype", |
| 82 | "name": "Price List", |
| 83 | "description": _("Price List master.") |
| 84 | }, |
| 85 | { |
| 86 | "type": "doctype", |
| 87 | "name": "Item Price", |
| 88 | "description": _("Multiple Item prices."), |
| 89 | "route": "Report/Item Price" |
| 90 | }, |
| 91 | { |
| 92 | "type": "doctype", |
| 93 | "name": "Pricing Rule", |
| 94 | "description": _("Rules for applying pricing and discount.") |
| 95 | }, |
| 96 | ] |
| 97 | }, |
| 98 | { |
| 99 | "label": _("Main Reports"), |
| 100 | "icon": "icon-table", |
| 101 | "items": [ |
| 102 | { |
| 103 | "type": "page", |
| 104 | "name": "purchase-analytics", |
| 105 | "label": _("Purchase Analytics"), |
| 106 | "icon": "icon-bar-chart", |
| 107 | }, |
| 108 | ] |
| 109 | }, |
| 110 | { |
| 111 | "label": _("Standard Reports"), |
| 112 | "icon": "icon-list", |
| 113 | "items": [ |
| 114 | { |
| 115 | "type": "report", |
| 116 | "is_query_report": True, |
| 117 | "name": "Items To Be Requested", |
| 118 | "doctype": "Item" |
| 119 | }, |
| 120 | { |
| 121 | "type": "report", |
| 122 | "is_query_report": True, |
| 123 | "name": "Requested Items To Be Ordered", |
| 124 | "doctype": "Material Request" |
| 125 | }, |
| 126 | { |
| 127 | "type": "report", |
| 128 | "is_query_report": True, |
| 129 | "name": "Material Requests for which Supplier Quotations are not created", |
| 130 | "doctype": "Material Request" |
| 131 | }, |
| 132 | { |
| 133 | "type": "report", |
| 134 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 135 | "name": "Item-wise Purchase History", |
| 136 | "doctype": "Item" |
| 137 | }, |
| 138 | { |
| 139 | "type": "report", |
| 140 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 141 | "name": "Purchase Order Trends", |
| 142 | "doctype": "Purchase Order" |
| 143 | }, |
| 144 | { |
| 145 | "type": "report", |
| 146 | "is_query_report": True, |
Anand Doshi | e8c5cb8 | 2014-07-14 13:10:24 +0530 | [diff] [blame] | 147 | "name": "Supplier Addresses and Contacts", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 148 | "doctype": "Supplier" |
| 149 | }, |
| 150 | { |
| 151 | "type": "report", |
| 152 | "is_query_report": True, |
| 153 | "name": "Supplier-Wise Sales Analytics", |
| 154 | "doctype": "Stock Ledger Entry" |
| 155 | } |
| 156 | ] |
| 157 | }, |
| 158 | ] |