fix: test_tax_for_payroll_period

This commit is contained in:
Anurag Mishra 2020-06-23 13:47:28 +05:30
parent f9ca29cebd
commit ece9508eb5
2 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,7 @@ class TestSalarySlip(unittest.TestCase):
# as per assigned salary structure 40500 in monthly salary so 236000*5/100/12
frappe.db.sql("""delete from `tabPayroll Period`""")
frappe.db.sql("""delete from `tabSalary Component`""")
frappe.db.sql("""delete from `tabAdditional Salary`""")
payroll_period = create_payroll_period()

View File

@ -3,6 +3,7 @@
from __future__ import unicode_literals
import frappe
from frappe.utils import getdate
from frappe import _
def execute(filters=None):