fix: rename rule eval relative_delta to relativedelta to match real function

This commit is contained in:
Herculino Trotta
2024-10-27 15:42:26 -03:00
parent 79e97e7a76
commit 9f371c2693

View File

@@ -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)