Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
| 3 | data = [ |
| 4 | { |
| 5 | "label": _("Documents"), |
| 6 | "icon": "icon-star", |
| 7 | "items": [ |
| 8 | { |
| 9 | "type": "doctype", |
| 10 | "name": "Lead", |
| 11 | "description": _("Database of potential customers."), |
| 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
| 15 | "name": "Customer", |
| 16 | "description": _("Customer database."), |
| 17 | }, |
| 18 | { |
| 19 | "type": "doctype", |
| 20 | "name": "Opportunity", |
| 21 | "description": _("Potential opportunities for selling."), |
| 22 | }, |
| 23 | { |
| 24 | "type": "doctype", |
| 25 | "name": "Quotation", |
| 26 | "description": _("Quotes to Leads or Customers."), |
| 27 | }, |
| 28 | { |
| 29 | "type": "doctype", |
| 30 | "name": "Sales Order", |
| 31 | "description": _("Confirmed orders from Customers."), |
| 32 | }, |
| 33 | { |
| 34 | "type": "doctype", |
| 35 | "name": "Contact", |
| 36 | "description": _("All Contacts."), |
| 37 | }, |
| 38 | { |
| 39 | "type": "doctype", |
| 40 | "name": "Address", |
| 41 | "description": _("All Addresses."), |
| 42 | }, |
| 43 | { |
| 44 | "type": "doctype", |
| 45 | "name": "Item", |
| 46 | "description": _("All Products or Services."), |
| 47 | }, |
| 48 | ] |
| 49 | }, |
| 50 | { |
| 51 | "label": _("Tools"), |
| 52 | "icon": "icon-wrench", |
| 53 | "items": [ |
| 54 | { |
| 55 | "type": "doctype", |
| 56 | "name": "SMS Center", |
| 57 | "description":_("Send mass SMS to your contacts"), |
| 58 | }, |
| 59 | ] |
| 60 | }, |
| 61 | { |
| 62 | "label": _("Setup"), |
| 63 | "icon": "icon-cog", |
| 64 | "items": [ |
| 65 | { |
| 66 | "type": "doctype", |
| 67 | "name": "Selling Settings", |
| 68 | "description": _("Default settings for selling transactions.") |
| 69 | }, |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Campaign", |
| 73 | "description": _("Sales campaigns."), |
| 74 | }, |
| 75 | { |
| 76 | "type": "page", |
| 77 | "label": _("Customer Group"), |
| 78 | "name": "Sales Browser", |
| 79 | "icon": "icon-sitemap", |
| 80 | "link": "Sales Browser/Customer Group", |
| 81 | "description": _("Manage Customer Group Tree."), |
| 82 | "doctype": "Customer Group", |
| 83 | }, |
| 84 | { |
| 85 | "type": "page", |
| 86 | "label": _("Territory"), |
| 87 | "name": "Sales Browser", |
| 88 | "icon": "icon-sitemap", |
| 89 | "link": "Sales Browser/Territory", |
| 90 | "description": _("Manage Territory Tree."), |
| 91 | "doctype": "Territory", |
| 92 | }, |
| 93 | { |
| 94 | "type": "page", |
| 95 | "label": _("Sales Person"), |
| 96 | "name": "Sales Browser", |
| 97 | "icon": "icon-sitemap", |
| 98 | "link": "Sales Browser/Sales Person", |
| 99 | "description": _("Manage Sales Person Tree."), |
| 100 | "doctype": "Sales Person", |
| 101 | }, |
| 102 | { |
| 103 | "type": "page", |
| 104 | "name": "Sales Browser", |
| 105 | "icon": "icon-sitemap", |
| 106 | "label": _("Item Group Tree"), |
| 107 | "link": "Sales Browser/Item Group", |
| 108 | "description": _("Tree of Item Groups."), |
| 109 | "doctype": "Item Group", |
| 110 | }, |
| 111 | { |
| 112 | "type": "doctype", |
| 113 | "name":"Terms and Conditions", |
| 114 | "label": _("Terms and Conditions Template"), |
| 115 | "description": _("Template of terms or contract.") |
| 116 | }, |
| 117 | { |
| 118 | "type": "doctype", |
| 119 | "name": "Sales Taxes and Charges Master", |
| 120 | "description": _("Tax template for selling transactions.") |
| 121 | }, |
| 122 | { |
| 123 | "type": "doctype", |
Anand Doshi | b2c2fca | 2014-03-05 18:24:48 +0530 | [diff] [blame] | 124 | "name": "Shipping Rule", |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 125 | "description": _("Rules for adding shipping costs.") |
| 126 | }, |
| 127 | { |
| 128 | "type": "doctype", |
| 129 | "name": "Price List", |
| 130 | "description": _("Price List master.") |
| 131 | }, |
| 132 | { |
| 133 | "type": "doctype", |
| 134 | "name": "Item Price", |
| 135 | "description": _("Multiple Item prices."), |
| 136 | "route": "Report/Item Price" |
| 137 | }, |
| 138 | { |
| 139 | "type": "doctype", |
Anand Doshi | b2c2fca | 2014-03-05 18:24:48 +0530 | [diff] [blame] | 140 | "name": "Pricing Rule", |
| 141 | "description": _("Rules for applying pricing and discount.") |
| 142 | }, |
| 143 | { |
| 144 | "type": "doctype", |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 145 | "name": "Sales BOM", |
| 146 | "description": _("Bundle items at time of sale."), |
| 147 | }, |
| 148 | { |
| 149 | "type": "doctype", |
| 150 | "name": "Sales Email Settings", |
| 151 | "description": _("Setup incoming server for sales email id. (e.g. sales@example.com)") |
| 152 | }, |
| 153 | ] |
| 154 | }, |
| 155 | { |
| 156 | "label": _("Main Reports"), |
| 157 | "icon": "icon-table", |
| 158 | "items": [ |
| 159 | { |
| 160 | "type": "page", |
| 161 | "name": "sales-analytics", |
| 162 | "label": _("Sales Analytics"), |
| 163 | "icon": "icon-bar-chart", |
| 164 | }, |
| 165 | { |
| 166 | "type": "page", |
| 167 | "name": "sales-funnel", |
| 168 | "label": _("Sales Funnel"), |
| 169 | "icon": "icon-bar-chart", |
| 170 | }, |
| 171 | { |
| 172 | "type": "report", |
| 173 | "is_query_report": True, |
| 174 | "name": "Customer Acquisition and Loyalty", |
| 175 | "doctype": "Customer", |
| 176 | "icon": "icon-bar-chart", |
| 177 | }, |
| 178 | ] |
| 179 | }, |
| 180 | { |
| 181 | "label": _("Standard Reports"), |
| 182 | "icon": "icon-list", |
| 183 | "items": [ |
| 184 | { |
| 185 | "type": "report", |
| 186 | "is_query_report": True, |
| 187 | "name": "Lead Details", |
| 188 | "doctype": "Lead" |
| 189 | }, |
| 190 | { |
| 191 | "type": "report", |
| 192 | "is_query_report": True, |
| 193 | "name": "Customer Addresses And Contacts", |
| 194 | "doctype": "Contact" |
| 195 | }, |
| 196 | { |
| 197 | "type": "report", |
| 198 | "is_query_report": True, |
| 199 | "name": "Ordered Items To Be Delivered", |
| 200 | "doctype": "Sales Order" |
| 201 | }, |
| 202 | { |
| 203 | "type": "report", |
| 204 | "is_query_report": True, |
| 205 | "name": "Sales Person-wise Transaction Summary", |
| 206 | "doctype": "Sales Order" |
| 207 | }, |
| 208 | { |
| 209 | "type": "report", |
| 210 | "is_query_report": True, |
| 211 | "name": "Item-wise Sales History", |
| 212 | "doctype": "Item" |
| 213 | }, |
| 214 | { |
| 215 | "type": "report", |
| 216 | "is_query_report": True, |
| 217 | "name": "Territory Target Variance (Item Group-Wise)", |
| 218 | "route": "query-report/Territory Target Variance Item Group-Wise", |
| 219 | "doctype": "Territory" |
| 220 | }, |
| 221 | { |
| 222 | "type": "report", |
| 223 | "is_query_report": True, |
| 224 | "name": "Sales Person Target Variance (Item Group-Wise)", |
| 225 | "route": "query-report/Sales Person Target Variance Item Group-Wise", |
| 226 | "doctype": "Sales Person", |
| 227 | }, |
| 228 | { |
| 229 | "type": "report", |
| 230 | "is_query_report": True, |
| 231 | "name": "Customers Not Buying Since Long Time", |
| 232 | "doctype": "Sales Order" |
| 233 | }, |
| 234 | { |
| 235 | "type": "report", |
| 236 | "is_query_report": True, |
| 237 | "name": "Quotation Trend", |
| 238 | "doctype": "Quotation" |
| 239 | }, |
| 240 | { |
| 241 | "type": "report", |
| 242 | "is_query_report": True, |
| 243 | "name": "Sales Order Trends", |
| 244 | "doctype": "Sales Order" |
| 245 | }, |
| 246 | { |
| 247 | "type": "report", |
| 248 | "is_query_report": True, |
| 249 | "name": "Available Stock for Packing Items", |
| 250 | "doctype": "Item", |
| 251 | }, |
| 252 | { |
| 253 | "type": "report", |
| 254 | "is_query_report": True, |
| 255 | "name": "Pending SO Items For Purchase Request", |
| 256 | "doctype": "Sales Order" |
| 257 | }, |
| 258 | ] |
| 259 | }, |
| 260 | ] |