feat: add india specific custom fields in company
This commit is contained in:
parent
525d8cefc1
commit
9215de02c5
@ -568,7 +568,7 @@ execute:frappe.delete_doc_if_exists("Page", "sales-analytics")
|
|||||||
execute:frappe.delete_doc_if_exists("Page", "purchase-analytics")
|
execute:frappe.delete_doc_if_exists("Page", "purchase-analytics")
|
||||||
execute:frappe.delete_doc_if_exists("Page", "stock-analytics")
|
execute:frappe.delete_doc_if_exists("Page", "stock-analytics")
|
||||||
execute:frappe.delete_doc_if_exists("Page", "production-analytics")
|
execute:frappe.delete_doc_if_exists("Page", "production-analytics")
|
||||||
erpnext.patches.v11_0.ewaybill_fields_gst_india #2019-05-01
|
erpnext.patches.v11_0.ewaybill_fields_gst_india #2019-05-06
|
||||||
erpnext.patches.v11_0.drop_column_max_days_allowed
|
erpnext.patches.v11_0.drop_column_max_days_allowed
|
||||||
erpnext.patches.v10_0.update_user_image_in_employee
|
erpnext.patches.v10_0.update_user_image_in_employee
|
||||||
erpnext.patches.v10_0.repost_gle_for_purchase_receipts_with_rejected_items
|
erpnext.patches.v10_0.repost_gle_for_purchase_receipts_with_rejected_items
|
||||||
@ -600,4 +600,4 @@ erpnext.patches.v11_1.woocommerce_set_creation_user
|
|||||||
erpnext.patches.v11_1.set_salary_details_submittable
|
erpnext.patches.v11_1.set_salary_details_submittable
|
||||||
erpnext.patches.v11_1.rename_depends_on_lwp
|
erpnext.patches.v11_1.rename_depends_on_lwp
|
||||||
execute:frappe.delete_doc("Report", "Inactive Items")
|
execute:frappe.delete_doc("Report", "Inactive Items")
|
||||||
erpnext.patches.v11_1.delete_scheduling_tool
|
erpnext.patches.v11_1.delete_scheduling_tool
|
@ -281,7 +281,15 @@ def make_custom_fields(update=True):
|
|||||||
dict(fieldname='hra_component', label='HRA Component',
|
dict(fieldname='hra_component', label='HRA Component',
|
||||||
fieldtype='Link', options='Salary Component', insert_after='basic_component'),
|
fieldtype='Link', options='Salary Component', insert_after='basic_component'),
|
||||||
dict(fieldname='arrear_component', label='Arrear Component',
|
dict(fieldname='arrear_component', label='Arrear Component',
|
||||||
fieldtype='Link', options='Salary Component', insert_after='hra_component')
|
fieldtype='Link', options='Salary Component', insert_after='hra_component'),
|
||||||
|
dict(fieldname='bank_remittance_section', label='Bank Remittance Settings',
|
||||||
|
fieldtype='Section Break', collapsible=1, insert_after='arrear_component'),
|
||||||
|
dict(fieldname='client_code', label='Client Code', fieldtype='Data',
|
||||||
|
insert_after='bank_remittance_section'),
|
||||||
|
dict(fieldname='remittance_column_break', fieldtype='Column Break',
|
||||||
|
insert_after='client_code'),
|
||||||
|
dict(fieldname='product_code', label='Product Code', fieldtype='Data',
|
||||||
|
insert_after='remittance_column_break'),
|
||||||
],
|
],
|
||||||
'Employee Tax Exemption Declaration':[
|
'Employee Tax Exemption Declaration':[
|
||||||
dict(fieldname='hra_section', label='HRA Exemption',
|
dict(fieldname='hra_section', label='HRA Exemption',
|
||||||
@ -566,4 +574,4 @@ def get_tds_details(accounts, fiscal_year):
|
|||||||
doctype="Tax Withholding Category", accounts=accounts,
|
doctype="Tax Withholding Category", accounts=accounts,
|
||||||
rates=[{"fiscal_year": fiscal_year, "tax_withholding_rate": 20,
|
rates=[{"fiscal_year": fiscal_year, "tax_withholding_rate": 20,
|
||||||
"single_threshold": 2500, "cumulative_threshold": 0}])
|
"single_threshold": 2500, "cumulative_threshold": 0}])
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user