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