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:
parent
236c28fc91
commit
504a5f3a3a
@ -6,4 +6,5 @@ def execute():
|
|||||||
if not company:
|
if not company:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
frappe.reload_doc("regional", "doctype", "lower_deduction_certificate")
|
||||||
add_permissions()
|
add_permissions()
|
||||||
@ -10,7 +10,7 @@ def execute():
|
|||||||
if not frappe.db.table_exists("Payroll Period"):
|
if not frappe.db.table_exists("Payroll Period"):
|
||||||
return
|
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)
|
frappe.reload_doc("hr", "doctype", doctype)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user