mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
test: set country to India before running regional tests
This commit is contained in:
committed by
Nabin Hait
parent
00adda7c8d
commit
2e98e9e0b9
@@ -369,6 +369,7 @@ def calculate_annual_eligible_hra_exemption(doc):
|
||||
basic_component, hra_component = frappe.db.get_value(
|
||||
"Company", doc.company, ["basic_component", "hra_component"]
|
||||
)
|
||||
|
||||
if not (basic_component and hra_component):
|
||||
frappe.throw(
|
||||
_("Please set Basic and HRA component in Company {0}").format(
|
||||
|
||||
Reference in New Issue
Block a user