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