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", |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 12 | "name": "Journal Entry", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 13 | "description": _("Accounting journal entries.") |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
| 17 | "name": "Sales Invoice", |
| 18 | "description": _("Bills raised to Customers.") |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Purchase Invoice", |
| 23 | "description": _("Bills raised by Suppliers.") |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Customer", |
| 28 | "description": _("Customer database.") |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Supplier", |
| 33 | "description": _("Supplier database.") |
| 34 | }, |
| 35 | { |
| 36 | "type": "page", |
| 37 | "name": "Accounts Browser", |
| 38 | "icon": "icon-sitemap", |
| 39 | "label": _("Chart of Accounts"), |
| 40 | "route": "Accounts Browser/Account", |
| 41 | "description": _("Tree of finanial accounts."), |
| 42 | "doctype": "Account", |
| 43 | }, |
| 44 | ] |
| 45 | }, |
| 46 | { |
| 47 | "label": _("Tools"), |
| 48 | "icon": "icon-wrench", |
| 49 | "items": [ |
| 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "Bank Reconciliation", |
| 53 | "description": _("Update bank payment dates with journals.") |
| 54 | }, |
ankitjavalkarwork | b0cffac | 2014-07-22 15:02:59 +0530 | [diff] [blame] | 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Payment Reconciliation", |
| 58 | "description": _("Match non-linked Invoices and Payments.") |
| 59 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 60 | { |
| 61 | "type": "doctype", |
| 62 | "name": "Period Closing Voucher", |
| 63 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 64 | }, |
Ankit Javalkar | 8e7ca41 | 2014-09-12 15:18:53 +0530 | [diff] [blame] | 65 | { |
| 66 | "type": "doctype", |
| 67 | "name": "Payment Tool", |
| 68 | "description": _("Create Payment Entries against Orders or Invoices.") |
| 69 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 70 | ] |
| 71 | }, |
| 72 | { |
| 73 | "label": _("Setup"), |
| 74 | "icon": "icon-cog", |
| 75 | "items": [ |
| 76 | { |
| 77 | "type": "doctype", |
Rushabh Mehta | 7278c0a | 2015-07-03 12:21:50 +0530 | [diff] [blame] | 78 | "name": "Company", |
| 79 | "description": _("Company (not Customer or Supplier) master.") |
| 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 83 | "name": "Fiscal Year", |
| 84 | "description": _("Financial / accounting year.") |
| 85 | }, |
| 86 | { |
| 87 | "type": "page", |
| 88 | "name": "Accounts Browser", |
| 89 | "icon": "icon-sitemap", |
| 90 | "label": _("Chart of Accounts"), |
| 91 | "route": "Accounts Browser/Account", |
| 92 | "description": _("Tree of finanial accounts."), |
| 93 | "doctype": "Account", |
| 94 | }, |
| 95 | { |
| 96 | "type": "page", |
| 97 | "name": "Accounts Browser", |
| 98 | "icon": "icon-sitemap", |
| 99 | "label": _("Chart of Cost Centers"), |
| 100 | "route": "Accounts Browser/Cost Center", |
| 101 | "description": _("Tree of finanial Cost Centers."), |
| 102 | "doctype": "Cost Center", |
| 103 | }, |
| 104 | { |
| 105 | "type": "doctype", |
| 106 | "name": "Accounts Settings", |
| 107 | "description": _("Default settings for accounting transactions.") |
| 108 | }, |
| 109 | { |
| 110 | "type": "doctype", |
Neil Trini Lasrado | ef511b1 | 2015-08-26 15:01:20 +0530 | [diff] [blame] | 111 | "name": "Tax Rule", |
| 112 | "description": _("Tax Rule for transactions.") |
| 113 | }, |
| 114 | { |
| 115 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 116 | "name": "Sales Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 117 | "description": _("Tax template for selling transactions.") |
| 118 | }, |
| 119 | { |
| 120 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 121 | "name": "Purchase Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 122 | "description": _("Tax template for buying transactions.") |
| 123 | }, |
| 124 | { |
| 125 | "type": "doctype", |
Rushabh Mehta | a27cca9 | 2015-05-20 15:43:17 +0530 | [diff] [blame] | 126 | "name": "POS Profile", |
Nabin Hait | 3b0adc5 | 2015-05-21 16:51:15 +0530 | [diff] [blame] | 127 | "label": _("Point-of-Sale Profile"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 128 | "description": _("Rules to calculate shipping amount for a sale") |
| 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Shipping Rule", |
| 133 | "description": _("Rules for adding shipping costs.") |
| 134 | }, |
| 135 | { |
| 136 | "type": "doctype", |
| 137 | "name": "Pricing Rule", |
| 138 | "description": _("Rules for applying pricing and discount.") |
| 139 | }, |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name": "Currency", |
| 143 | "description": _("Enable / disable currencies.") |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Currency Exchange", |
| 148 | "description": _("Currency exchange rate master.") |
| 149 | }, |
| 150 | { |
| 151 | "type":"doctype", |
Rushabh Mehta | e1cb0ae | 2015-01-05 17:38:48 +0530 | [diff] [blame] | 152 | "name": "Monthly Distribution", |
Nabin Hait | e8500ad | 2015-01-10 16:03:49 +0530 | [diff] [blame] | 153 | "description": _("Seasonality for setting budgets, targets etc.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name":"Terms and Conditions", |
| 158 | "label": _("Terms and Conditions Template"), |
| 159 | "description": _("Template of terms or contract.") |
| 160 | }, |
| 161 | { |
| 162 | "type": "doctype", |
| 163 | "name":"Mode of Payment", |
| 164 | "description": _("e.g. Bank, Cash, Credit Card") |
| 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
| 168 | "name":"C-Form", |
| 169 | "description": _("C-Form records"), |
| 170 | "country": "India" |
| 171 | } |
| 172 | ] |
| 173 | }, |
| 174 | { |
| 175 | "label": _("Main Reports"), |
| 176 | "icon": "icon-table", |
| 177 | "items": [ |
| 178 | { |
| 179 | "type": "report", |
| 180 | "name":"General Ledger", |
| 181 | "doctype": "GL Entry", |
| 182 | "is_query_report": True, |
| 183 | }, |
| 184 | { |
Anand Doshi | cb86d59 | 2014-07-22 19:02:11 +0530 | [diff] [blame] | 185 | "type": "report", |
| 186 | "name": "Trial Balance", |
| 187 | "doctype": "GL Entry", |
| 188 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 189 | }, |
| 190 | { |
| 191 | "type": "report", |
Nabin Hait | 1b6c00e | 2015-09-25 09:17:20 +0530 | [diff] [blame] | 192 | "name": "Trial Balance for Party", |
| 193 | "doctype": "GL Entry", |
| 194 | "is_query_report": True, |
| 195 | }, |
| 196 | { |
| 197 | "type": "report", |
Rushabh Mehta | 20bcf6a | 2015-04-13 15:31:24 +0530 | [diff] [blame] | 198 | "name": "Gross Profit", |
| 199 | "doctype": "Sales Invoice", |
| 200 | "is_query_report": True |
| 201 | }, |
| 202 | { |
| 203 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 204 | "name": "Accounts Receivable", |
| 205 | "doctype": "Sales Invoice", |
| 206 | "is_query_report": True |
| 207 | }, |
| 208 | { |
| 209 | "type": "report", |
| 210 | "name": "Accounts Payable", |
| 211 | "doctype": "Purchase Invoice", |
| 212 | "is_query_report": True |
| 213 | }, |
| 214 | { |
| 215 | "type": "report", |
| 216 | "name": "Sales Register", |
| 217 | "doctype": "Sales Invoice", |
| 218 | "is_query_report": True |
| 219 | }, |
| 220 | { |
| 221 | "type": "report", |
| 222 | "name": "Purchase Register", |
| 223 | "doctype": "Purchase Invoice", |
| 224 | "is_query_report": True |
| 225 | }, |
| 226 | { |
Anand Doshi | fa576a2 | 2014-07-17 19:12:28 +0530 | [diff] [blame] | 227 | "type": "report", |
| 228 | "name": "Balance Sheet", |
| 229 | "doctype": "GL Entry", |
| 230 | "is_query_report": True |
| 231 | }, |
| 232 | { |
Anand Doshi | 825d014 | 2014-07-18 18:05:26 +0530 | [diff] [blame] | 233 | "type": "report", |
Chris Ian Fiel | 826e18a | 2015-12-12 10:33:01 +0800 | [diff] [blame] | 234 | "name": "Cash Flow", |
| 235 | "doctype": "GL Entry", |
| 236 | "is_query_report": True |
| 237 | }, |
| 238 | { |
| 239 | "type": "report", |
Anand Doshi | 825d014 | 2014-07-18 18:05:26 +0530 | [diff] [blame] | 240 | "name": "Profit and Loss Statement", |
| 241 | "doctype": "GL Entry", |
| 242 | "is_query_report": True |
| 243 | }, |
| 244 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 245 | "type": "page", |
| 246 | "name": "financial-analytics", |
| 247 | "label": _("Financial Analytics"), |
| 248 | "icon": "icon-bar-chart", |
Rushabh Mehta | 20bcf6a | 2015-04-13 15:31:24 +0530 | [diff] [blame] | 249 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 250 | ] |
| 251 | }, |
| 252 | { |
| 253 | "label": _("Standard Reports"), |
| 254 | "icon": "icon-list", |
| 255 | "items": [ |
| 256 | { |
| 257 | "type": "report", |
| 258 | "name": "Bank Reconciliation Statement", |
| 259 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 260 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 261 | }, |
| 262 | { |
| 263 | "type": "report", |
| 264 | "name": "Ordered Items To Be Billed", |
| 265 | "is_query_report": True, |
| 266 | "doctype": "Sales Invoice" |
| 267 | }, |
| 268 | { |
| 269 | "type": "report", |
| 270 | "name": "Delivered Items To Be Billed", |
| 271 | "is_query_report": True, |
| 272 | "doctype": "Sales Invoice" |
| 273 | }, |
| 274 | { |
| 275 | "type": "report", |
| 276 | "name": "Purchase Order Items To Be Billed", |
| 277 | "is_query_report": True, |
| 278 | "doctype": "Purchase Invoice" |
| 279 | }, |
| 280 | { |
| 281 | "type": "report", |
| 282 | "name": "Received Items To Be Billed", |
| 283 | "is_query_report": True, |
| 284 | "doctype": "Purchase Invoice" |
| 285 | }, |
| 286 | { |
| 287 | "type": "report", |
| 288 | "name": "Bank Clearance Summary", |
| 289 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 290 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 291 | }, |
| 292 | { |
| 293 | "type": "report", |
| 294 | "name": "Payment Period Based On Invoice Date", |
| 295 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 296 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 297 | }, |
| 298 | { |
| 299 | "type": "report", |
| 300 | "name": "Sales Partners Commission", |
| 301 | "is_query_report": True, |
| 302 | "doctype": "Sales Invoice" |
| 303 | }, |
| 304 | { |
| 305 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 306 | "name": "Item-wise Sales Register", |
| 307 | "is_query_report": True, |
| 308 | "doctype": "Sales Invoice" |
| 309 | }, |
| 310 | { |
| 311 | "type": "report", |
| 312 | "name": "Item-wise Purchase Register", |
| 313 | "is_query_report": True, |
| 314 | "doctype": "Purchase Invoice" |
| 315 | }, |
| 316 | { |
| 317 | "type": "report", |
| 318 | "name": "Budget Variance Report", |
| 319 | "is_query_report": True, |
| 320 | "doctype": "Cost Center" |
| 321 | }, |
| 322 | { |
| 323 | "type": "report", |
| 324 | "name": "Purchase Invoice Trends", |
| 325 | "is_query_report": True, |
| 326 | "doctype": "Purchase Invoice" |
| 327 | }, |
| 328 | { |
| 329 | "type": "report", |
| 330 | "name": "Sales Invoice Trends", |
| 331 | "is_query_report": True, |
| 332 | "doctype": "Sales Invoice" |
| 333 | }, |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 334 | { |
| 335 | "type": "report", |
| 336 | "name": "Accounts Receivable Summary", |
| 337 | "doctype": "Sales Invoice", |
| 338 | "is_query_report": True |
| 339 | }, |
| 340 | { |
| 341 | "type": "report", |
ankitjavalkarwork | e6e65b0 | 2014-11-04 14:36:50 +0530 | [diff] [blame] | 342 | "name": "Accounts Payable Summary", |
| 343 | "doctype": "Purchase Invoice", |
| 344 | "is_query_report": True |
| 345 | }, |
| 346 | { |
| 347 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 348 | "is_query_report": True, |
| 349 | "name": "Customer Credit Balance", |
| 350 | "doctype": "Customer" |
| 351 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 352 | ] |
| 353 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 354 | { |
| 355 | "label": _("Help"), |
| 356 | "icon": "icon-facetime-video", |
| 357 | "items": [ |
| 358 | { |
| 359 | "type": "help", |
| 360 | "label": _("Chart of Accounts"), |
| 361 | "youtube_id": "DyR-DST-PyA" |
| 362 | }, |
| 363 | { |
| 364 | "type": "help", |
| 365 | "label": _("Opening Accounting Balance"), |
| 366 | "youtube_id": "kdgM20Q-q68" |
| 367 | }, |
| 368 | { |
| 369 | "type": "help", |
| 370 | "label": _("Setting up Taxes"), |
| 371 | "youtube_id": "nQ1zZdPgdaQ" |
| 372 | } |
| 373 | ] |
| 374 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 375 | ] |