fix: Income tax slab patch (#21448)

* fix: reload income_tax_slab_other_charges in patch

* fix: reload lower_deduction_certificate in patch
This commit is contained in:
Nabin Hait
2020-04-28 11:15:57 +05:30
committed by GitHub
parent 6ece7fe265
commit 95f7807b78
2 changed files with 2 additions and 1 deletions

View File

@@ -6,4 +6,5 @@ def execute():
if not company:
return
frappe.reload_doc("regional", "doctype", "lower_deduction_certificate")
add_permissions()

View File

@@ -10,7 +10,7 @@ def execute():
if not frappe.db.table_exists("Payroll Period"):
return
for doctype in ("income_tax_slab", "salary_structure_assignment", "employee_other_income"):
for doctype in ("income_tax_slab", "salary_structure_assignment", "employee_other_income", "income_tax_slab_other_charges"):
frappe.reload_doc("hr", "doctype", doctype)