fix: reload income_tax_slab_other_charges in patch (#21447)

* 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:16:04 +05:30 committed by GitHub
parent 236c28fc91
commit 504a5f3a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)