blob: ce1384aae7fd86bc23aec364bbe0c9e6b5786520 [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
Tyler Mattesonafc55ca2018-12-10 07:33:19 -05003import frappe
4
Anand Doshif5794f12014-03-03 15:05:28 +05305
Anand Doshi08ef4672014-05-08 11:43:18 +05306def get_data():
Tyler Mattesonafc55ca2018-12-10 07:33:19 -05007 config = [
Anand Doshi08ef4672014-05-08 11:43:18 +05308 {
Prateeksha Singh063af4e2019-02-06 17:02:41 +05309 "label": _("Masters and Accounts"),
Anand Doshi08ef4672014-05-08 11:43:18 +053010 "items": [
11 {
12 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053013 "name": "Item",
14 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053015 },
16 {
17 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053018 "name": "Customer",
19 "description": _("Customer database."),
20 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053021 },
22 {
23 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053024 "name": "Supplier",
25 "description": _("Supplier database."),
26 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053027 },
28 {
Nabin Haite4bbb692016-07-04 16:16:24 +053029 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053030 "name": "Company",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053031 "description": _("Company (not Customer or Supplier) master."),
32 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053033 },
34 {
Saurabh52ec0ed2016-07-05 18:02:38 +053035 "type": "doctype",
36 "name": "Account",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053037 "icon": "fa fa-sitemap",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053038 "label": _("Chart of Accounts"),
Prateeksha Singh34234072019-02-07 09:18:24 +053039 "route": "#Tree/Account",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053040 "description": _("Tree of financial accounts."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053041 "onboard": 1,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053042 },
Prateeksha Singh063af4e2019-02-06 17:02:41 +053043 ]
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 R198c7ae2019-04-19 12:17:19 +053067 "name": "Payment Term",
68 "description": _("Payment Terms based on conditions")
Nabin Hait28a7aec2019-04-22 15:35:13 +053069 },
Prateeksha Singh063af4e2019-02-06 17:02:41 +053070
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 Singh9d4a1832019-02-11 15:14:50 +0530100 "label": _("Settings"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530101 "icon": "fa fa-cog",
102 "items": [
103 {
104 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530105 "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 R198c7ae2019-04-19 12:17:19 +0530125 "name": "Exchange Rate Revaluation",
126 "description": _("Exchange Rate Revaluation master.")
127 },
128 {
129 "type": "doctype",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530130 "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 Singh34234072019-02-07 09:18:24 +0530155 },
156 {
157 "type": "doctype",
158 "name": "Cheque Print Template",
159 "description": _("Setup cheque dimensions for printing")
160 },
deepeshgarg007705c03c2019-05-17 10:23:00 +0530161 {
162 "type": "doctype",
163 "name": "Accounting Dimension",
164 "description": _("Setup custom dimensions for accounting")
165 },
Faris Ansari2ab8d3e2019-06-26 13:32:41 +0530166 {
167 "type": "doctype",
168 "name": "Opening Invoice Creation Tool",
169 "description": _("Create Opening Sales and Purchase Invoices")
Nabin Hait34c551d2019-07-03 10:34:31 +0530170 }
Faris Ansari2ab8d3e2019-06-26 13:32:41 +0530171 ]
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 Hait34c551d2019-07-03 10:34:31 +0530185 }
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530186 ]
187 },
188 {
189 "label": _("Financial Statements"),
190 "items": [
191 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530192 "type": "report",
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500193 "name": "General Ledger",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530194 "doctype": "GL Entry",
195 "is_query_report": True,
196 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530197 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530198 "type": "report",
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500199 "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 Mehtad1e1c522016-03-08 18:06:21 +0530211 "name": "Trial Balance",
212 "doctype": "GL Entry",
213 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530214 },
ankitjavalkarworkb0cffac2014-07-22 15:02:59 +0530215 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530216 "type": "report",
217 "name": "Balance Sheet",
218 "doctype": "GL Entry",
219 "is_query_report": True
ankitjavalkarworkb0cffac2014-07-22 15:02:59 +0530220 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530221 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530222 "type": "report",
223 "name": "Cash Flow",
224 "doctype": "GL Entry",
225 "is_query_report": True
Anand Doshi08ef4672014-05-08 11:43:18 +0530226 },
Ankit Javalkar8e7ca412014-09-12 15:18:53 +0530227 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530228 "type": "report",
229 "name": "Profit and Loss Statement",
230 "doctype": "GL Entry",
231 "is_query_report": True
232 },
rohitwaghchaureefff6e52018-04-18 10:52:07 +0530233 {
234 "type": "report",
235 "name": "Consolidated Financial Statement",
236 "doctype": "GL Entry",
237 "is_query_report": True
238 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530239 ]
240 },
241 {
242 "label": _("Banking and Payments"),
243 "items": [
244 {
Ankit Javalkar8e7ca412014-09-12 15:18:53 +0530245 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530246 "label": _("Bank"),
247 "name": "Bank",
248 },
249 {
Nabin Hait34c551d2019-07-03 10:34:31 +0530250 "type": "page",
251 "label": _("Reconcile payments and bank transactions"),
252 "name": "bank-reconciliation",
253 "description": _("Link bank transactions with payments.")
254 },
255 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530256 "type": "doctype",
257 "label": _("Bank Account"),
258 "name": "Bank Account",
259 },
260 {
261 "type": "doctype",
Nabin Hait36bb3f52019-04-18 14:47:44 +0530262 "label": _("Invoice Discounting"),
263 "name": "Invoice Discounting",
264 },
265 {
266 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530267 "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 Mehtad1e1c522016-03-08 18:06:21 +0530285 "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 Loya09fe8e02017-04-25 14:26:33 +0530307 {
308 "type": "doctype",
309 "name": "Bank Guarantee",
310 "doctype": "Bank Guarantee"
311 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530312 ]
313 },
314 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530315 "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 Mehtad1e1c522016-03-08 18:06:21 +0530349 "label": _("Taxes"),
Anand Doshi08ef4672014-05-08 11:43:18 +0530350 "items": [
351 {
352 "type": "doctype",
Saif Ur Rehman8ac26172018-11-25 00:53:54 +0500353 "name": "Tax Category",
354 "description": _("Tax Category for overriding tax rates.")
355 },
356 {
357 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +0530358 "name": "Sales Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +0530359 "description": _("Tax template for selling transactions.")
360 },
361 {
362 "type": "doctype",
Rushabh Mehtabcdea3e2015-05-06 18:45:47 +0530363 "name": "Purchase Taxes and Charges Template",
Anand Doshi08ef4672014-05-08 11:43:18 +0530364 "description": _("Tax template for buying transactions.")
365 },
366 {
367 "type": "doctype",
Saif Ur Rehman8ac26172018-11-25 00:53:54 +0500368 "name": "Item Tax Template",
369 "description": _("Tax template for item tax rates.")
370 },
371 {
372 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530373 "name": "Tax Rule",
374 "description": _("Tax Rule for transactions.")
375 },
376 {
Zarrar2cadb1e2018-08-06 14:46:16 +0530377 "type": "doctype",
378 "name": "Tax Withholding Category",
379 "description": _("Tax Withholding rates to be applied on transactions.")
380 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530381 ]
382 },
383 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530384 "label": _("Subscription Management"),
385 "icon": "fa fa-microchip ",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530386 "items": [
387 {
Saurabh52ec0ed2016-07-05 18:02:38 +0530388 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530389 "name": "Subscriber",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530390 },
391 {
Nabin Haitb9bc7d62016-05-16 14:38:47 +0530392 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530393 "name": "Subscription Plan",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530394 },
395 {
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500396 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530397 "name": "Subscription"
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530398 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530399 {
400 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530401 "name": "Subscription Settings"
402 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530403 ]
404 },
405 {
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530406 "label": _("Key Reports"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530407 "items": [
408 {
Anand Doshi08ef4672014-05-08 11:43:18 +0530409 "type": "report",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530410 "name": "Gross Profit",
411 "doctype": "Sales Invoice",
412 "is_query_report": True
413 },
414 {
415 "type": "report",
Prateeksha Singh063af4e2019-02-06 17:02:41 +0530416 "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 Mehtad1e1c522016-03-08 18:06:21 +0530428 "name": "Purchase Invoice Trends",
Anand Doshi08ef4672014-05-08 11:43:18 +0530429 "is_query_report": True,
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530430 "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 Rehmanb5323152018-12-12 15:46:50 +0500438 {
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 Mehtad1e1c522016-03-08 18:06:21 +0530468 ]
469 },
470 {
471 "label": _("Other Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530472 "icon": "fa fa-table",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530473 "items": [
474 {
475 "type": "report",
476 "name": "Trial Balance for Party",
477 "doctype": "GL Entry",
478 "is_query_report": True,
Anand Doshi08ef4672014-05-08 11:43:18 +0530479 },
480 {
481 "type": "report",
482 "name": "Payment Period Based On Invoice Date",
483 "is_query_report": True,
Nabin Hait23d2a532014-12-25 17:14:18 +0530484 "doctype": "Journal Entry"
Anand Doshi08ef4672014-05-08 11:43:18 +0530485 },
486 {
487 "type": "report",
488 "name": "Sales Partners Commission",
489 "is_query_report": True,
490 "doctype": "Sales Invoice"
491 },
492 {
493 "type": "report",
Nabin Haite6370862014-10-30 15:50:03 +0530494 "name": "Accounts Receivable Summary",
495 "doctype": "Sales Invoice",
496 "is_query_report": True
497 },
498 {
499 "type": "report",
ankitjavalkarworke6e65b02014-11-04 14:36:50 +0530500 "name": "Accounts Payable Summary",
501 "doctype": "Purchase Invoice",
502 "is_query_report": True
503 },
504 {
505 "type": "report",
Nabin Haite6370862014-10-30 15:50:03 +0530506 "is_query_report": True,
507 "name": "Customer Credit Balance",
508 "doctype": "Customer"
509 },
pawane61a2752017-11-02 17:53:24 +0530510 {
511 "type": "report",
512 "is_query_report": True,
pawan8d1d64a2017-11-03 21:52:07 +0530513 "name": "Sales Payment Summary",
pawane61a2752017-11-02 17:53:24 +0530514 "doctype": "Sales Invoice"
Shreya Shah51034542018-06-05 10:44:36 +0530515 },
516 {
517 "type": "report",
518 "is_query_report": True,
519 "name": "Address And Contacts",
520 "doctype": "Address"
pawane61a2752017-11-02 17:53:24 +0530521 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530522 ]
523 },
Rushabh Mehta67712402015-05-25 18:30:53 +0530524 {
Ameya Shenoy5c33a042018-02-12 11:32:47 +0530525 "label": _("Share Management"),
526 "icon": "fa fa-microchip ",
527 "items": [
528 {
529 "type": "doctype",
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500530 "name": "Shareholder",
Ameya Shenoy5c33a042018-02-12 11:32:47 +0530531 "description": _("List of available Shareholders with folio numbers")
532 },
533 {
534 "type": "doctype",
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500535 "name": "Share Transfer",
Ameya Shenoy5c33a042018-02-12 11:32:47 +0530536 "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 Mehta67712402015-05-25 18:30:53 +0530553 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530554 "icon": "fa fa-facetime-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530555 "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 Doshi08ef4672014-05-08 11:43:18 +0530573 ]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530574
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500575 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 Garg22b61602019-03-21 20:47:47 +0530597 "type": "doctype",
598 "name": "GSTR 3B Report",
599 },
600 {
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500601 "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 Singh7cd6ebe2019-01-24 07:15:53 +0530622
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530623
Tyler Mattesonafc55ca2018-12-10 07:33:19 -0500624 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 Mattesonafc55ca2018-12-10 07:33:19 -0500629 return config