mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-10 07:49:29 +00:00
fix(banking): find transfers on the same day (#58766)
(cherry picked from commit 04b84ef069)
Co-authored-by: Nikhil Kothari <nik.kothari22@live.com>
This commit is contained in:
@@ -916,7 +916,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