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