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