Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 1 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors |
| 2 | # License: GNU General Public License v3. See license.txt |
| 3 | |
| 4 | from __future__ import unicode_literals |
| 5 | |
| 6 | import frappe, os, json |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 7 | from frappe.custom.doctype.custom_field.custom_field import create_custom_fields |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 8 | from frappe.permissions import add_permission |
| 9 | from erpnext.regional.india import states |
| 10 | |
Rushabh Mehta | 0165927 | 2017-06-27 18:05:17 +0530 | [diff] [blame] | 11 | def setup(company=None, patch=True): |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 12 | make_custom_fields() |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 13 | add_permissions() |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 14 | add_custom_roles_for_reports() |
Nabin Hait | c314485 | 2017-09-28 18:55:40 +0530 | [diff] [blame] | 15 | frappe.enqueue('erpnext.regional.india.setup.add_hsn_sac_codes', now=frappe.flags.in_test) |
Nabin Hait | 852cb64 | 2017-07-05 12:58:19 +0530 | [diff] [blame] | 16 | add_print_formats() |
Rushabh Mehta | 0165927 | 2017-06-27 18:05:17 +0530 | [diff] [blame] | 17 | if not patch: |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 18 | update_address_template() |
Saurabh | 2d8a7ee | 2018-05-11 13:16:16 +0530 | [diff] [blame] | 19 | make_fixtures(company) |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 20 | |
| 21 | def update_address_template(): |
| 22 | with open(os.path.join(os.path.dirname(__file__), 'address_template.html'), 'r') as f: |
| 23 | html = f.read() |
| 24 | |
| 25 | address_template = frappe.db.get_value('Address Template', 'India') |
| 26 | if address_template: |
| 27 | frappe.db.set_value('Address Template', 'India', 'template', html) |
| 28 | else: |
| 29 | # make new html template for India |
Rushabh Mehta | 9b09ff2 | 2017-06-27 12:17:39 +0530 | [diff] [blame] | 30 | frappe.get_doc(dict( |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 31 | doctype='Address Template', |
| 32 | country='India', |
| 33 | template=html |
Rushabh Mehta | 9b09ff2 | 2017-06-27 12:17:39 +0530 | [diff] [blame] | 34 | )).insert() |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 35 | |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 36 | def add_hsn_sac_codes(): |
| 37 | # HSN codes |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 38 | with open(os.path.join(os.path.dirname(__file__), 'hsn_code_data.json'), 'r') as f: |
| 39 | hsn_codes = json.loads(f.read()) |
| 40 | |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 41 | create_hsn_codes(hsn_codes, code_field="hsn_code") |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 42 | |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 43 | # SAC Codes |
| 44 | with open(os.path.join(os.path.dirname(__file__), 'sac_code_data.json'), 'r') as f: |
| 45 | sac_codes = json.loads(f.read()) |
| 46 | create_hsn_codes(sac_codes, code_field="sac_code") |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 47 | |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 48 | def create_hsn_codes(data, code_field): |
| 49 | for d in data: |
Rushabh Mehta | f702d72 | 2017-09-27 15:31:30 +0530 | [diff] [blame] | 50 | hsn_code = frappe.new_doc('GST HSN Code') |
| 51 | hsn_code.description = d["description"] |
| 52 | hsn_code.hsn_code = d[code_field] |
| 53 | hsn_code.name = d[code_field] |
| 54 | try: |
Nabin Hait | 1a60931 | 2017-07-13 12:16:04 +0530 | [diff] [blame] | 55 | hsn_code.db_insert() |
Rushabh Mehta | f702d72 | 2017-09-27 15:31:30 +0530 | [diff] [blame] | 56 | except frappe.DuplicateEntryError: |
| 57 | pass |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 58 | |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 59 | def add_custom_roles_for_reports(): |
| 60 | for report_name in ('GST Sales Register', 'GST Purchase Register', |
| 61 | 'GST Itemised Sales Register', 'GST Itemised Purchase Register'): |
| 62 | |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 63 | if not frappe.db.get_value('Custom Role', dict(report=report_name)): |
| 64 | frappe.get_doc(dict( |
| 65 | doctype='Custom Role', |
| 66 | report=report_name, |
| 67 | roles= [ |
| 68 | dict(role='Accounts User'), |
| 69 | dict(role='Accounts Manager') |
| 70 | ] |
| 71 | )).insert() |
| 72 | |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 73 | def add_permissions(): |
Rushabh Mehta | 00ae424 | 2017-06-27 17:31:41 +0530 | [diff] [blame] | 74 | for doctype in ('GST HSN Code', 'GST Settings'): |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 75 | add_permission(doctype, 'All', 0) |
| 76 | |
Nabin Hait | 852cb64 | 2017-07-05 12:58:19 +0530 | [diff] [blame] | 77 | def add_print_formats(): |
| 78 | frappe.reload_doc("regional", "print_format", "gst_tax_invoice") |
rohitwaghchaure | e3b5c0f | 2017-12-16 10:53:53 +0530 | [diff] [blame] | 79 | frappe.reload_doc("accounts", "print_format", "gst_pos_invoice") |
| 80 | |
| 81 | frappe.db.sql(""" update `tabPrint Format` set disabled = 0 where |
| 82 | name in('GST POS Invoice', 'GST Tax Invoice') """) |
Nabin Hait | 852cb64 | 2017-07-05 12:58:19 +0530 | [diff] [blame] | 83 | |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 84 | def make_custom_fields(): |
Nabin Hait | f3f0dfe | 2017-07-06 14:49:34 +0530 | [diff] [blame] | 85 | hsn_sac_field = dict(fieldname='gst_hsn_code', label='HSN/SAC', |
Nabin Hait | e5716e3 | 2017-09-11 19:21:37 +0530 | [diff] [blame] | 86 | fieldtype='Data', options='item_code.gst_hsn_code', insert_after='description', |
| 87 | allow_on_submit=1, print_hide=1) |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 88 | invoice_gst_fields = [ |
| 89 | dict(fieldname='gst_section', label='GST Details', fieldtype='Section Break', |
vishdha | 109b408 | 2018-01-30 12:11:13 +0530 | [diff] [blame] | 90 | insert_after='language', print_hide=1, collapsible=1), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 91 | dict(fieldname='invoice_copy', label='Invoice Copy', |
| 92 | fieldtype='Select', insert_after='gst_section', print_hide=1, allow_on_submit=1, |
| 93 | options='Original for Recipient\nDuplicate for Transporter\nDuplicate for Supplier\nTriplicate for Supplier'), |
| 94 | dict(fieldname='reverse_charge', label='Reverse Charge', |
| 95 | fieldtype='Select', insert_after='invoice_copy', print_hide=1, |
| 96 | options='Y\nN', default='N'), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 97 | dict(fieldname='invoice_type', label='Invoice Type', |
Nabin Hait | e6d65bc | 2018-02-14 17:44:06 +0530 | [diff] [blame] | 98 | fieldtype='Select', insert_after='invoice_copy', print_hide=1, |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 99 | options='Regular\nSEZ\nExport\nDeemed Export', default='Regular'), |
| 100 | dict(fieldname='export_type', label='Export Type', |
| 101 | fieldtype='Select', insert_after='invoice_type', print_hide=1, |
| 102 | depends_on='eval:in_list(["SEZ", "Export", "Deemed Export"], doc.invoice_type)', |
| 103 | options='\nWith Payment of Tax\nWithout Payment of Tax'), |
| 104 | dict(fieldname='ecommerce_gstin', label='E-commerce GSTIN', |
Vishal Dhayagude | c463c06 | 2018-01-26 11:27:22 +0530 | [diff] [blame] | 105 | fieldtype='Data', insert_after='export_type', print_hide=1), |
Nabin Hait | e6d65bc | 2018-02-14 17:44:06 +0530 | [diff] [blame] | 106 | dict(fieldname='gst_col_break', fieldtype='Column Break', insert_after='ecommerce_gstin'), |
Vishal Dhayagude | c463c06 | 2018-01-26 11:27:22 +0530 | [diff] [blame] | 107 | dict(fieldname='reason_for_issuing_document', label='Reason For Issuing document', |
Nabin Hait | b02c109 | 2018-02-05 16:09:51 +0530 | [diff] [blame] | 108 | fieldtype='Select', insert_after='gst_col_break', print_hide=1, |
Nabin Hait | e6d65bc | 2018-02-14 17:44:06 +0530 | [diff] [blame] | 109 | depends_on='eval:doc.is_return==1', |
Nabin Hait | a8d10b7 | 2018-02-12 16:54:13 +0530 | [diff] [blame] | 110 | options='\n01-Sales Return\n02-Post Sale Discount\n03-Deficiency in services\n04-Correction in Invoice\n05-Change in POS\n06-Finalization of Provisional assessment\n07-Others') |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 111 | ] |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 112 | |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 113 | purchase_invoice_gst_fields = [ |
| 114 | dict(fieldname='supplier_gstin', label='Supplier GSTIN', |
| 115 | fieldtype='Data', insert_after='supplier_address', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 116 | fetch_from='supplier_address.gstin', print_hide=1), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 117 | dict(fieldname='company_gstin', label='Company GSTIN', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 118 | fieldtype='Data', insert_after='shipping_address_display', |
| 119 | fetch_from='shipping_address.gstin', print_hide=1), |
Nabin Hait | b02c109 | 2018-02-05 16:09:51 +0530 | [diff] [blame] | 120 | dict(fieldname='place_of_supply', label='Place of Supply', |
| 121 | fieldtype='Data', insert_after='shipping_address', |
| 122 | print_hide=1, read_only=0), |
vishdha | 98e33c3 | 2018-01-29 13:57:34 +0530 | [diff] [blame] | 123 | dict(fieldname='eligibility_for_itc', label='Eligibility For ITC', |
| 124 | fieldtype='Select', insert_after='reason_for_issuing_document', print_hide=1, |
| 125 | options='input\ninput service\ncapital goods\nineligible', default="ineligible"), |
| 126 | dict(fieldname='itc_integrated_tax', label='Availed ITC Integrated Tax', |
| 127 | fieldtype='Data', insert_after='eligibility_for_itc', print_hide=1), |
| 128 | dict(fieldname='itc_central_tax', label='Availed ITC Central Tax', |
| 129 | fieldtype='Data', insert_after='itc_integrated_tax', print_hide=1), |
| 130 | dict(fieldname='itc_state_tax', label='Availed ITC State/UT Tax', |
| 131 | fieldtype='Data', insert_after='itc_central_tax', print_hide=1), |
| 132 | dict(fieldname='itc_cess_amount', label='Availed ITC Cess', |
| 133 | fieldtype='Data', insert_after='itc_state_tax', print_hide=1), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 134 | ] |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 135 | |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 136 | sales_invoice_gst_fields = [ |
rohitwaghchaure | 1664580 | 2017-09-28 11:05:03 +0530 | [diff] [blame] | 137 | dict(fieldname='billing_address_gstin', label='Billing Address GSTIN', |
| 138 | fieldtype='Data', insert_after='customer_address', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 139 | fetch_from='customer_address.gstin', print_hide=1), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 140 | dict(fieldname='customer_gstin', label='Customer GSTIN', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 141 | fieldtype='Data', insert_after='shipping_address_name', |
| 142 | fetch_from='shipping_address_name.gstin', print_hide=1), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 143 | dict(fieldname='place_of_supply', label='Place of Supply', |
Nabin Hait | 619c42b | 2018-01-10 17:48:03 +0530 | [diff] [blame] | 144 | fieldtype='Data', insert_after='customer_gstin', |
| 145 | print_hide=1, read_only=0), |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 146 | dict(fieldname='company_gstin', label='Company GSTIN', |
| 147 | fieldtype='Data', insert_after='company_address', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 148 | fetch_from='company_address.gstin', print_hide=1), |
vishdha | 98e33c3 | 2018-01-29 13:57:34 +0530 | [diff] [blame] | 149 | dict(fieldname='port_code', label='Port Code', |
| 150 | fieldtype='Data', insert_after='reason_for_issuing_document', print_hide=1, |
| 151 | depends_on="eval:doc.invoice_type=='Export' "), |
| 152 | dict(fieldname='shipping_bill_number', label=' Shipping Bill Number', |
| 153 | fieldtype='Data', insert_after='port_code', print_hide=1, |
| 154 | depends_on="eval:doc.invoice_type=='Export' "), |
| 155 | dict(fieldname='shipping_bill_date', label='Shipping Bill Date', |
| 156 | fieldtype='Date', insert_after='shipping_bill_number', print_hide=1, |
| 157 | depends_on="eval:doc.invoice_type=='Export' ") |
Nabin Hait | 879e162 | 2017-08-21 08:28:55 +0530 | [diff] [blame] | 158 | ] |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 159 | |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 160 | inter_state_gst_field = [ |
| 161 | dict(fieldname='is_inter_state', label='Is Inter State', |
| 162 | fieldtype='Check', insert_after='disabled', print_hide=1) |
| 163 | ] |
| 164 | |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 165 | custom_fields = { |
| 166 | 'Address': [ |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 167 | dict(fieldname='gstin', label='Party GSTIN', fieldtype='Data', |
| 168 | insert_after='fax'), |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 169 | dict(fieldname='gst_state', label='GST State', fieldtype='Select', |
Nabin Hait | f3f0dfe | 2017-07-06 14:49:34 +0530 | [diff] [blame] | 170 | options='\n'.join(states), insert_after='gstin'), |
| 171 | dict(fieldname='gst_state_number', label='GST State Number', |
Nabin Hait | 1b36336 | 2017-07-07 14:05:33 +0530 | [diff] [blame] | 172 | fieldtype='Int', insert_after='gst_state', read_only=1), |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 173 | ], |
Nabin Hait | b02c109 | 2018-02-05 16:09:51 +0530 | [diff] [blame] | 174 | 'Purchase Invoice': invoice_gst_fields + purchase_invoice_gst_fields, |
| 175 | 'Sales Invoice': invoice_gst_fields + sales_invoice_gst_fields, |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 176 | 'Delivery Note': sales_invoice_gst_fields, |
| 177 | 'Sales Taxes and Charges Template': inter_state_gst_field, |
| 178 | 'Purchase Taxes and Charges Template': inter_state_gst_field, |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 179 | 'Item': [ |
Nabin Hait | f3f0dfe | 2017-07-06 14:49:34 +0530 | [diff] [blame] | 180 | dict(fieldname='gst_hsn_code', label='HSN/SAC', |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 181 | fieldtype='Link', options='GST HSN Code', insert_after='item_group'), |
| 182 | ], |
Nabin Hait | 9c42161 | 2017-07-20 13:32:01 +0530 | [diff] [blame] | 183 | 'Quotation Item': [hsn_sac_field], |
| 184 | 'Supplier Quotation Item': [hsn_sac_field], |
Nabin Hait | f3f0dfe | 2017-07-06 14:49:34 +0530 | [diff] [blame] | 185 | 'Sales Order Item': [hsn_sac_field], |
| 186 | 'Delivery Note Item': [hsn_sac_field], |
| 187 | 'Sales Invoice Item': [hsn_sac_field], |
| 188 | 'Purchase Order Item': [hsn_sac_field], |
| 189 | 'Purchase Receipt Item': [hsn_sac_field], |
Pawan Mehta | f419635 | 2018-04-05 14:54:51 +0530 | [diff] [blame] | 190 | 'Purchase Invoice Item': [hsn_sac_field], |
| 191 | 'Employee': [ |
| 192 | dict(fieldname='ifsc_code', label='IFSC Code', |
Rushabh Mehta | 369afce | 2018-04-26 10:10:03 +0530 | [diff] [blame] | 193 | fieldtype='Data', insert_after='bank_ac_no', print_hide=1, |
Manas Solanki | b2f9af7 | 2018-04-05 21:35:29 +0530 | [diff] [blame] | 194 | depends_on='eval:doc.salary_mode == "Bank"') ] |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 195 | } |
| 196 | |
Rushabh Mehta | 369afce | 2018-04-26 10:10:03 +0530 | [diff] [blame] | 197 | create_custom_fields(custom_fields, ignore_validate = frappe.flags.in_patch) |
Nabin Hait | 9c42161 | 2017-07-20 13:32:01 +0530 | [diff] [blame] | 198 | |
Saurabh | 2d8a7ee | 2018-05-11 13:16:16 +0530 | [diff] [blame] | 199 | def make_fixtures(company=None): |
| 200 | docs = [] |
| 201 | company = company.name if company else frappe.db.get_value("Global Defaults", None, "default_company") |
| 202 | |
| 203 | set_salary_components(docs) |
| 204 | set_tds_account(docs, company) |
| 205 | set_tax_withholding_category(docs, company) |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 206 | |
| 207 | for d in docs: |
| 208 | try: |
| 209 | doc = frappe.get_doc(d) |
| 210 | doc.flags.ignore_permissions = True |
| 211 | doc.insert() |
| 212 | except frappe.NameError: |
| 213 | pass |
Saurabh | 2d8a7ee | 2018-05-11 13:16:16 +0530 | [diff] [blame] | 214 | |
| 215 | def set_salary_components(docs): |
| 216 | docs.extend([ |
| 217 | {'doctype': 'Salary Component', 'salary_component': 'Professional Tax', 'description': 'Professional Tax', 'type': 'Deduction'}, |
| 218 | {'doctype': 'Salary Component', 'salary_component': 'Provident Fund', 'description': 'Provident fund', 'type': 'Deduction'}, |
| 219 | {'doctype': 'Salary Component', 'salary_component': 'House Rent Allowance', 'description': 'House Rent Allowance', 'type': 'Earning'}, |
| 220 | {'doctype': 'Salary Component', 'salary_component': 'Basic', 'description': 'Basic', 'type': 'Earning'}, |
| 221 | {'doctype': 'Salary Component', 'salary_component': 'Arrear', 'description': 'Arrear', 'type': 'Earning'}, |
| 222 | {'doctype': 'Salary Component', 'salary_component': 'Leave Encashment', 'description': 'Leave Encashment', 'type': 'Earning'} |
| 223 | ]) |
| 224 | |
| 225 | def set_tax_withholding_category(docs, company): |
| 226 | accounts = [] |
| 227 | tds_account = frappe.db.get_value("Account", filter={"account_type": "Payable", |
| 228 | "account_name": "TDS", "company": company}) |
| 229 | |
| 230 | if company and tds_account: |
| 231 | accounts = [ |
| 232 | { |
| 233 | 'company': company, |
| 234 | 'account': tds_account |
| 235 | } |
| 236 | ] |
| 237 | |
| 238 | docs.extend([ |
| 239 | { |
| 240 | 'doctype': 'Tax Withholding Category', '__newname': 'TDS', |
| 241 | 'percent_of_tax_withheld': 10,'threshold': 150000, 'book_on_invoice': 1, |
| 242 | 'book_on_advance': 0, "withhold_cumulative_tax_amount": 0, |
| 243 | 'accounts': accounts |
| 244 | } |
| 245 | ]) |
| 246 | |
| 247 | def set_tds_account(docs, company): |
| 248 | docs.extend([ |
| 249 | { |
Saurabh | b9d3385 | 2018-05-12 17:42:20 +0530 | [diff] [blame] | 250 | 'doctype': 'Account', 'account_name': 'TDS', 'account_type': 'Tax', |
| 251 | 'parent_account': 'Duties and Taxes', 'company': company |
Saurabh | 2d8a7ee | 2018-05-11 13:16:16 +0530 | [diff] [blame] | 252 | } |
| 253 | ]) |