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 _ |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 3 | import frappe |
| 4 | |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 5 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 6 | def get_data(): |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 7 | config = [ |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 8 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 9 | "label": _("Accounts Receivable"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 10 | "items": [ |
| 11 | { |
| 12 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 13 | "name": "Sales Invoice", |
| 14 | "description": _("Bills raised to Customers."), |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 15 | "onboard": 1, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 19 | "name": "Customer", |
| 20 | "description": _("Customer database."), |
| 21 | "onboard": 1, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 22 | }, |
| 23 | { |
| 24 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 25 | "name": "Payment Entry", |
| 26 | "description": _("Bank/Cash transactions against party or for internal transfer") |
| 27 | }, |
| 28 | { |
| 29 | "type": "doctype", |
| 30 | "name": "Payment Request", |
| 31 | "description": _("Payment Request"), |
| 32 | }, |
| 33 | { |
| 34 | "type": "report", |
| 35 | "name": "Accounts Receivable", |
| 36 | "doctype": "Sales Invoice", |
| 37 | "is_query_report": True |
| 38 | }, |
| 39 | { |
| 40 | "type": "report", |
| 41 | "name": "Accounts Receivable Summary", |
| 42 | "doctype": "Sales Invoice", |
| 43 | "is_query_report": True |
| 44 | }, |
| 45 | { |
| 46 | "type": "report", |
| 47 | "name": "Sales Register", |
| 48 | "doctype": "Sales Invoice", |
| 49 | "is_query_report": True |
| 50 | }, |
| 51 | { |
| 52 | "type": "report", |
| 53 | "name": "Item-wise Sales Register", |
| 54 | "is_query_report": True, |
| 55 | "doctype": "Sales Invoice" |
| 56 | }, |
| 57 | { |
| 58 | "type": "report", |
| 59 | "name": "Ordered Items To Be Billed", |
| 60 | "is_query_report": True, |
| 61 | "doctype": "Sales Invoice" |
| 62 | }, |
| 63 | { |
| 64 | "type": "report", |
| 65 | "name": "Delivered Items To Be Billed", |
| 66 | "is_query_report": True, |
| 67 | "doctype": "Sales Invoice" |
| 68 | }, |
| 69 | ] |
| 70 | }, |
| 71 | { |
| 72 | "label": _("Accounts Payable"), |
| 73 | "items": [ |
| 74 | { |
| 75 | "type": "doctype", |
| 76 | "name": "Purchase Invoice", |
| 77 | "description": _("Bills raised by Suppliers."), |
| 78 | "onboard": 1 |
| 79 | }, |
| 80 | { |
| 81 | "type": "doctype", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 82 | "name": "Supplier", |
| 83 | "description": _("Supplier database."), |
| 84 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 85 | }, |
| 86 | { |
Nabin Hait | e4bbb69 | 2016-07-04 16:16:24 +0530 | [diff] [blame] | 87 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 88 | "name": "Payment Entry", |
| 89 | "description": _("Bank/Cash transactions against party or for internal transfer") |
| 90 | }, |
| 91 | { |
| 92 | "type": "report", |
| 93 | "name": "Accounts Payable", |
| 94 | "doctype": "Purchase Invoice", |
| 95 | "is_query_report": True |
| 96 | }, |
| 97 | { |
| 98 | "type": "report", |
| 99 | "name": "Accounts Payable Summary", |
| 100 | "doctype": "Purchase Invoice", |
| 101 | "is_query_report": True |
| 102 | }, |
| 103 | { |
| 104 | "type": "report", |
| 105 | "name": "Purchase Register", |
| 106 | "doctype": "Purchase Invoice", |
| 107 | "is_query_report": True |
| 108 | }, |
| 109 | { |
| 110 | "type": "report", |
| 111 | "name": "Item-wise Purchase Register", |
| 112 | "is_query_report": True, |
| 113 | "doctype": "Purchase Invoice" |
| 114 | }, |
| 115 | { |
| 116 | "type": "report", |
| 117 | "name": "Purchase Order Items To Be Billed", |
| 118 | "is_query_report": True, |
| 119 | "doctype": "Purchase Invoice" |
| 120 | }, |
| 121 | { |
| 122 | "type": "report", |
| 123 | "name": "Received Items To Be Billed", |
| 124 | "is_query_report": True, |
| 125 | "doctype": "Purchase Invoice" |
| 126 | }, |
| 127 | ] |
| 128 | }, |
| 129 | { |
| 130 | "label": _("Accounting Masters"), |
| 131 | "items": [ |
| 132 | { |
| 133 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 134 | "name": "Company", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 135 | "description": _("Company (not Customer or Supplier) master."), |
| 136 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 137 | }, |
| 138 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 139 | "type": "doctype", |
| 140 | "name": "Account", |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 141 | "icon": "fa fa-sitemap", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 142 | "label": _("Chart of Accounts"), |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 143 | "route": "#Tree/Account", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 144 | "description": _("Tree of financial accounts."), |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 145 | "onboard": 1, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 146 | }, |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 147 | { |
| 148 | "type": "doctype", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 149 | "name": "Accounts Settings", |
Prateeksha Singh | 063af4e | 2019-02-06 17:02:41 +0530 | [diff] [blame] | 150 | }, |
| 151 | { |
| 152 | "type": "doctype", |
| 153 | "name": "Fiscal Year", |
| 154 | "description": _("Financial / accounting year.") |
| 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
deepeshgarg007 | 705c03c | 2019-05-17 10:23:00 +0530 | [diff] [blame] | 158 | "name": "Accounting Dimension", |
deepeshgarg007 | 705c03c | 2019-05-17 10:23:00 +0530 | [diff] [blame] | 159 | }, |
Faris Ansari | 2ab8d3e | 2019-06-26 13:32:41 +0530 | [diff] [blame] | 160 | { |
| 161 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 162 | "name": "Finance Book", |
Faris Ansari | 2ab8d3e | 2019-06-26 13:32:41 +0530 | [diff] [blame] | 163 | }, |
| 164 | { |
| 165 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 166 | "name": "Accounting Period", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 167 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 168 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 169 | "type": "doctype", |
| 170 | "name": "Payment Term", |
| 171 | "description": _("Payment Terms based on conditions") |
rohitwaghchaure | efff6e5 | 2018-04-18 10:52:07 +0530 | [diff] [blame] | 172 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 173 | ] |
| 174 | }, |
| 175 | { |
| 176 | "label": _("Banking and Payments"), |
| 177 | "items": [ |
| 178 | { |
Ankit Javalkar | 8e7ca41 | 2014-09-12 15:18:53 +0530 | [diff] [blame] | 179 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 180 | "label": _("Match Payments with Invoices"), |
| 181 | "name": "Payment Reconciliation", |
| 182 | "description": _("Match non-linked Invoices and Payments.") |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 183 | }, |
| 184 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 185 | "type": "doctype", |
Saqib Ansari | b2a84fe | 2020-04-06 16:32:33 +0530 | [diff] [blame] | 186 | "label": _("Update Bank Clearance Dates"), |
| 187 | "name": "Bank Clearance", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 188 | "description": _("Update bank payment dates with journals.") |
| 189 | }, |
| 190 | { |
| 191 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 192 | "label": _("Invoice Discounting"), |
| 193 | "name": "Invoice Discounting", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 194 | }, |
| 195 | { |
| 196 | "type": "report", |
| 197 | "name": "Bank Reconciliation Statement", |
| 198 | "is_query_report": True, |
| 199 | "doctype": "Journal Entry" |
Anurag Mishra | 935517d | 2019-11-29 18:08:42 +0530 | [diff] [blame] | 200 | },{ |
| 201 | "type": "page", |
| 202 | "name": "bank-reconciliation", |
| 203 | "label": _("Bank Reconciliation"), |
| 204 | "icon": "fa fa-bar-chart" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 205 | }, |
| 206 | { |
| 207 | "type": "report", |
| 208 | "name": "Bank Clearance Summary", |
| 209 | "is_query_report": True, |
| 210 | "doctype": "Journal Entry" |
| 211 | }, |
Ishan Loya | 09fe8e0 | 2017-04-25 14:26:33 +0530 | [diff] [blame] | 212 | { |
| 213 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 214 | "name": "Bank Guarantee" |
| 215 | }, |
| 216 | { |
| 217 | "type": "doctype", |
| 218 | "name": "Cheque Print Template", |
| 219 | "description": _("Setup cheque dimensions for printing") |
| 220 | }, |
| 221 | ] |
| 222 | }, |
| 223 | { |
| 224 | "label": _("General Ledger"), |
| 225 | "items": [ |
| 226 | { |
| 227 | "type": "doctype", |
| 228 | "name": "Journal Entry", |
| 229 | "description": _("Accounting journal entries.") |
| 230 | }, |
| 231 | { |
| 232 | "type": "report", |
| 233 | "name": "General Ledger", |
| 234 | "doctype": "GL Entry", |
| 235 | "is_query_report": True, |
| 236 | }, |
| 237 | { |
| 238 | "type": "report", |
| 239 | "name": "Customer Ledger Summary", |
| 240 | "doctype": "Sales Invoice", |
| 241 | "is_query_report": True, |
| 242 | }, |
| 243 | { |
| 244 | "type": "report", |
| 245 | "name": "Supplier Ledger Summary", |
| 246 | "doctype": "Sales Invoice", |
| 247 | "is_query_report": True, |
Mangesh-Khairnar | 2f7861a | 2020-05-02 20:09:33 +0530 | [diff] [blame] | 248 | }, |
| 249 | { |
| 250 | "type": "doctype", |
| 251 | "name": "Process Deferred Accounting" |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 252 | } |
| 253 | ] |
| 254 | }, |
| 255 | { |
| 256 | "label": _("Taxes"), |
| 257 | "items": [ |
| 258 | { |
| 259 | "type": "doctype", |
| 260 | "name": "Sales Taxes and Charges Template", |
| 261 | "description": _("Tax template for selling transactions.") |
| 262 | }, |
| 263 | { |
| 264 | "type": "doctype", |
| 265 | "name": "Purchase Taxes and Charges Template", |
| 266 | "description": _("Tax template for buying transactions.") |
| 267 | }, |
| 268 | { |
| 269 | "type": "doctype", |
| 270 | "name": "Item Tax Template", |
| 271 | "description": _("Tax template for item tax rates.") |
| 272 | }, |
| 273 | { |
| 274 | "type": "doctype", |
| 275 | "name": "Tax Category", |
| 276 | "description": _("Tax Category for overriding tax rates.") |
| 277 | }, |
| 278 | { |
| 279 | "type": "doctype", |
| 280 | "name": "Tax Rule", |
| 281 | "description": _("Tax Rule for transactions.") |
| 282 | }, |
| 283 | { |
| 284 | "type": "doctype", |
| 285 | "name": "Tax Withholding Category", |
| 286 | "description": _("Tax Withholding rates to be applied on transactions.") |
Ishan Loya | 09fe8e0 | 2017-04-25 14:26:33 +0530 | [diff] [blame] | 287 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 288 | ] |
| 289 | }, |
| 290 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 291 | "label": _("Cost Center and Budgeting"), |
| 292 | "items": [ |
| 293 | { |
| 294 | "type": "doctype", |
| 295 | "name": "Cost Center", |
| 296 | "icon": "fa fa-sitemap", |
| 297 | "label": _("Chart of Cost Centers"), |
| 298 | "route": "#Tree/Cost Center", |
| 299 | "description": _("Tree of financial Cost Centers."), |
| 300 | }, |
| 301 | { |
| 302 | "type": "doctype", |
| 303 | "name": "Budget", |
| 304 | "description": _("Define budget for a financial year.") |
| 305 | }, |
| 306 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 307 | "type": "doctype", |
| 308 | "name": "Accounting Dimension", |
| 309 | }, |
| 310 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 311 | "type": "report", |
| 312 | "name": "Budget Variance Report", |
| 313 | "is_query_report": True, |
| 314 | "doctype": "Cost Center" |
| 315 | }, |
| 316 | { |
| 317 | "type": "doctype", |
| 318 | "name": "Monthly Distribution", |
| 319 | "description": _("Seasonality for setting budgets, targets etc.") |
| 320 | }, |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 321 | ] |
| 322 | }, |
| 323 | { |
| 324 | "label": _("Financial Statements"), |
| 325 | "items": [ |
| 326 | { |
| 327 | "type": "report", |
| 328 | "name": "Trial Balance", |
| 329 | "doctype": "GL Entry", |
| 330 | "is_query_report": True, |
| 331 | }, |
| 332 | { |
| 333 | "type": "report", |
| 334 | "name": "Profit and Loss Statement", |
| 335 | "doctype": "GL Entry", |
| 336 | "is_query_report": True |
| 337 | }, |
| 338 | { |
| 339 | "type": "report", |
| 340 | "name": "Balance Sheet", |
| 341 | "doctype": "GL Entry", |
| 342 | "is_query_report": True |
| 343 | }, |
| 344 | { |
| 345 | "type": "report", |
| 346 | "name": "Cash Flow", |
| 347 | "doctype": "GL Entry", |
| 348 | "is_query_report": True |
| 349 | }, |
| 350 | { |
| 351 | "type": "report", |
| 352 | "name": "Consolidated Financial Statement", |
| 353 | "doctype": "GL Entry", |
| 354 | "is_query_report": True |
| 355 | }, |
| 356 | ] |
| 357 | }, |
| 358 | { |
| 359 | "label": _("Opening and Closing"), |
| 360 | "items": [ |
| 361 | { |
| 362 | "type": "doctype", |
| 363 | "name": "Opening Invoice Creation Tool", |
| 364 | }, |
| 365 | { |
| 366 | "type": "doctype", |
| 367 | "name": "Chart of Accounts Importer", |
| 368 | }, |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 369 | { |
| 370 | "type": "doctype", |
| 371 | "name": "Period Closing Voucher", |
| 372 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 373 | }, |
| 374 | ] |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 375 | |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 376 | }, |
| 377 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 378 | "label": _("Multi Currency"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 379 | "items": [ |
| 380 | { |
| 381 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 382 | "name": "Currency", |
| 383 | "description": _("Enable / disable currencies.") |
Saif Ur Rehman | 8ac2617 | 2018-11-25 00:53:54 +0500 | [diff] [blame] | 384 | }, |
| 385 | { |
| 386 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 387 | "name": "Currency Exchange", |
| 388 | "description": _("Currency exchange rate master.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 389 | }, |
| 390 | { |
| 391 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 392 | "name": "Exchange Rate Revaluation", |
| 393 | "description": _("Exchange Rate Revaluation master.") |
| 394 | }, |
| 395 | ] |
| 396 | }, |
| 397 | { |
| 398 | "label": _("Settings"), |
| 399 | "icon": "fa fa-cog", |
| 400 | "items": [ |
| 401 | { |
| 402 | "type": "doctype", |
| 403 | "name": "Payment Gateway Account", |
| 404 | "description": _("Setup Gateway accounts.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 405 | }, |
| 406 | { |
| 407 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 408 | "name": "Terms and Conditions", |
| 409 | "label": _("Terms and Conditions Template"), |
| 410 | "description": _("Template of terms or contract.") |
Saif Ur Rehman | 8ac2617 | 2018-11-25 00:53:54 +0500 | [diff] [blame] | 411 | }, |
| 412 | { |
| 413 | "type": "doctype", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 414 | "name": "Mode of Payment", |
| 415 | "description": _("e.g. Bank, Cash, Credit Card") |
Zarrar | 2cadb1e | 2018-08-06 14:46:16 +0530 | [diff] [blame] | 416 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 417 | ] |
| 418 | }, |
| 419 | { |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 420 | "label": _("Subscription Management"), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 421 | "items": [ |
| 422 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 423 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 424 | "name": "Subscriber", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 425 | }, |
| 426 | { |
Nabin Hait | b9bc7d6 | 2016-05-16 14:38:47 +0530 | [diff] [blame] | 427 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 428 | "name": "Subscription Plan", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 429 | }, |
| 430 | { |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 431 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 432 | "name": "Subscription" |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 433 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 434 | { |
| 435 | "type": "doctype", |
Prateeksha Singh | 3423407 | 2019-02-07 09:18:24 +0530 | [diff] [blame] | 436 | "name": "Subscription Settings" |
| 437 | } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 438 | ] |
| 439 | }, |
| 440 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 441 | "label": _("Bank Statement"), |
| 442 | "items": [ |
| 443 | { |
| 444 | "type": "doctype", |
| 445 | "label": _("Bank"), |
| 446 | "name": "Bank", |
| 447 | }, |
| 448 | { |
| 449 | "type": "doctype", |
| 450 | "label": _("Bank Account"), |
| 451 | "name": "Bank Account", |
| 452 | }, |
| 453 | { |
| 454 | "type": "doctype", |
| 455 | "name": "Bank Statement Transaction Entry", |
| 456 | }, |
| 457 | { |
| 458 | "type": "doctype", |
| 459 | "label": _("Bank Statement Settings"), |
| 460 | "name": "Bank Statement Settings", |
| 461 | }, |
| 462 | ] |
| 463 | }, |
| 464 | { |
| 465 | "label": _("Profitability"), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 466 | "items": [ |
| 467 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 468 | "type": "report", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 469 | "name": "Gross Profit", |
| 470 | "doctype": "Sales Invoice", |
| 471 | "is_query_report": True |
| 472 | }, |
| 473 | { |
| 474 | "type": "report", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 475 | "name": "Profitability Analysis", |
| 476 | "doctype": "GL Entry", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 477 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 478 | }, |
| 479 | { |
| 480 | "type": "report", |
| 481 | "name": "Sales Invoice Trends", |
| 482 | "is_query_report": True, |
| 483 | "doctype": "Sales Invoice" |
| 484 | }, |
Saif Ur Rehman | b532315 | 2018-12-12 15:46:50 +0500 | [diff] [blame] | 485 | { |
| 486 | "type": "report", |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 487 | "name": "Purchase Invoice Trends", |
Saif Ur Rehman | b532315 | 2018-12-12 15:46:50 +0500 | [diff] [blame] | 488 | "is_query_report": True, |
| 489 | "doctype": "Purchase Invoice" |
| 490 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 491 | ] |
| 492 | }, |
| 493 | { |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 494 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 495 | "icon": "fa fa-table", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 496 | "items": [ |
| 497 | { |
| 498 | "type": "report", |
| 499 | "name": "Trial Balance for Party", |
| 500 | "doctype": "GL Entry", |
| 501 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 502 | }, |
| 503 | { |
| 504 | "type": "report", |
| 505 | "name": "Payment Period Based On Invoice Date", |
| 506 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 507 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 508 | }, |
| 509 | { |
| 510 | "type": "report", |
| 511 | "name": "Sales Partners Commission", |
| 512 | "is_query_report": True, |
| 513 | "doctype": "Sales Invoice" |
| 514 | }, |
| 515 | { |
| 516 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 517 | "is_query_report": True, |
| 518 | "name": "Customer Credit Balance", |
| 519 | "doctype": "Customer" |
| 520 | }, |
pawan | e61a275 | 2017-11-02 17:53:24 +0530 | [diff] [blame] | 521 | { |
| 522 | "type": "report", |
| 523 | "is_query_report": True, |
pawan | 8d1d64a | 2017-11-03 21:52:07 +0530 | [diff] [blame] | 524 | "name": "Sales Payment Summary", |
pawan | e61a275 | 2017-11-02 17:53:24 +0530 | [diff] [blame] | 525 | "doctype": "Sales Invoice" |
Shreya Shah | 5103454 | 2018-06-05 10:44:36 +0530 | [diff] [blame] | 526 | }, |
| 527 | { |
| 528 | "type": "report", |
| 529 | "is_query_report": True, |
| 530 | "name": "Address And Contacts", |
| 531 | "doctype": "Address" |
pawan | e61a275 | 2017-11-02 17:53:24 +0530 | [diff] [blame] | 532 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 533 | ] |
| 534 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 535 | { |
Ameya Shenoy | 5c33a04 | 2018-02-12 11:32:47 +0530 | [diff] [blame] | 536 | "label": _("Share Management"), |
| 537 | "icon": "fa fa-microchip ", |
| 538 | "items": [ |
| 539 | { |
| 540 | "type": "doctype", |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 541 | "name": "Shareholder", |
Ameya Shenoy | 5c33a04 | 2018-02-12 11:32:47 +0530 | [diff] [blame] | 542 | "description": _("List of available Shareholders with folio numbers") |
| 543 | }, |
| 544 | { |
| 545 | "type": "doctype", |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 546 | "name": "Share Transfer", |
Ameya Shenoy | 5c33a04 | 2018-02-12 11:32:47 +0530 | [diff] [blame] | 547 | "description": _("List of all share transactions"), |
| 548 | }, |
| 549 | { |
| 550 | "type": "report", |
| 551 | "name": "Share Ledger", |
| 552 | "doctype": "Share Transfer", |
| 553 | "is_query_report": True |
| 554 | }, |
| 555 | { |
| 556 | "type": "report", |
| 557 | "name": "Share Balance", |
| 558 | "doctype": "Share Transfer", |
| 559 | "is_query_report": True |
| 560 | } |
| 561 | ] |
| 562 | }, |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 563 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 564 | ] |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 565 | |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 566 | gst = { |
| 567 | "label": _("Goods and Services Tax (GST India)"), |
| 568 | "items": [ |
| 569 | { |
| 570 | "type": "doctype", |
| 571 | "name": "GST Settings", |
| 572 | }, |
| 573 | { |
| 574 | "type": "doctype", |
| 575 | "name": "GST HSN Code", |
| 576 | }, |
| 577 | { |
| 578 | "type": "report", |
| 579 | "name": "GSTR-1", |
| 580 | "is_query_report": True |
| 581 | }, |
| 582 | { |
| 583 | "type": "report", |
| 584 | "name": "GSTR-2", |
| 585 | "is_query_report": True |
| 586 | }, |
| 587 | { |
Deepesh Garg | 22b6160 | 2019-03-21 20:47:47 +0530 | [diff] [blame] | 588 | "type": "doctype", |
| 589 | "name": "GSTR 3B Report", |
| 590 | }, |
| 591 | { |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 592 | "type": "report", |
| 593 | "name": "GST Sales Register", |
| 594 | "is_query_report": True |
| 595 | }, |
| 596 | { |
| 597 | "type": "report", |
| 598 | "name": "GST Purchase Register", |
| 599 | "is_query_report": True |
| 600 | }, |
| 601 | { |
| 602 | "type": "report", |
| 603 | "name": "GST Itemised Sales Register", |
| 604 | "is_query_report": True |
| 605 | }, |
| 606 | { |
| 607 | "type": "report", |
| 608 | "name": "GST Itemised Purchase Register", |
| 609 | "is_query_report": True |
| 610 | }, |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 611 | { |
| 612 | "type": "doctype", |
| 613 | "name": "C-Form", |
| 614 | "description": _("C-Form records"), |
| 615 | "country": "India" |
| 616 | }, |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 617 | ] |
| 618 | } |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 619 | |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 620 | |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 621 | countries = frappe.get_all("Company", fields="country") |
| 622 | countries = [country["country"] for country in countries] |
| 623 | if "India" in countries: |
Michelle Alva | 6abb63b | 2019-07-15 14:00:00 +0530 | [diff] [blame] | 624 | config.insert(9, gst) |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 625 | domains = frappe.get_active_domains() |
Tyler Matteson | afc55ca | 2018-12-10 07:33:19 -0500 | [diff] [blame] | 626 | return config |