Merge pull request #53272 from rohitwaghchaure/fixed-patch-falling

fix: patch failing
This commit is contained in:
rohitwaghchaure
2026-03-10 12:01:42 +05:30
committed by GitHub

View File

@@ -13,6 +13,9 @@ def execute():
return
company_creation = frappe.get_all("Company", fields=["creation"], order_by="creation asc", limit=1)
if not company_creation:
return
days_diff = date_diff(getdate(today()), getdate(company_creation[0].creation))
if days_diff > 15: