[FIX] odex_takaful: automatic update

Auto-generated commit based on local changes.
This commit is contained in:
maltayyar2 2026-01-10 21:19:22 +03:00
parent 6f1be97eb8
commit 091a335372
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ class DonationsDetailsLines(models.Model):
else:
base_date = False
if base_date:
today = fields.Date.today()
delta = relativedelta(today, base_date)
# build human-readable string
if delta.years > 0: