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