mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-13 17:20:36 +00:00
fix(banking): find transfers on the same day (#58766)
This commit is contained in:
@@ -912,7 +912,7 @@ def search_for_transfer_transaction(transaction_id: str | int):
|
|||||||
|
|
||||||
days = frappe.db.get_single_value("Accounts Settings", "transfer_match_days")
|
days = frappe.db.get_single_value("Accounts Settings", "transfer_match_days")
|
||||||
|
|
||||||
if not days:
|
if days is None:
|
||||||
days = 3
|
days = 3
|
||||||
|
|
||||||
min_date = frappe.utils.add_days(date, -days)
|
min_date = frappe.utils.add_days(date, -days)
|
||||||
|
|||||||
Reference in New Issue
Block a user