From 9f371c2693f0e59ab7c7e1501d0953330c13a739 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 27 Oct 2024 15:42:26 -0300 Subject: [PATCH] fix: rename rule eval relative_delta to relativedelta to match real function --- app/apps/rules/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/rules/tasks.py b/app/apps/rules/tasks.py index a00b9f2..9e7dc40 100644 --- a/app/apps/rules/tasks.py +++ b/app/apps/rules/tasks.py @@ -40,7 +40,7 @@ def check_for_transaction_rules( "reference_date": instance.reference_date, } - functions = {"relative_delta": relativedelta} + functions = {"relativedelta": relativedelta} simple = EvalWithCompoundTypes(names=context, functions=functions)