commit | ece9508eb5a02962a994fbaad0e989e323d3f56c | [log] [tgz] |
---|---|---|
author | Anurag Mishra <mishranaman123@gmail.com> | Tue Jun 23 13:47:28 2020 +0530 |
committer | Anurag Mishra <mishranaman123@gmail.com> | Tue Jun 23 14:25:43 2020 +0530 |
tree | a1aa93568be165a165c23be68510c8d7c6719830 | |
parent | f9ca29cebd0a0963ec58b8971283d7e0d2868f2b [diff] |
fix: test_tax_for_payroll_period
diff --git a/erpnext/payroll/doctype/salary_slip/test_salary_slip.py b/erpnext/payroll/doctype/salary_slip/test_salary_slip.py index f42b9ad..be9a2d3 100644 --- a/erpnext/payroll/doctype/salary_slip/test_salary_slip.py +++ b/erpnext/payroll/doctype/salary_slip/test_salary_slip.py
@@ -271,6 +271,7 @@ # 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()
diff --git a/erpnext/regional/report/provident_fund_deductions/provident_fund_deductions.py b/erpnext/regional/report/provident_fund_deductions/provident_fund_deductions.py index a79931c..084890e 100644 --- a/erpnext/regional/report/provident_fund_deductions/provident_fund_deductions.py +++ b/erpnext/regional/report/provident_fund_deductions/provident_fund_deductions.py
@@ -3,6 +3,7 @@ from __future__ import unicode_literals import frappe +from frappe.utils import getdate from frappe import _ def execute(filters=None):