fix: missing def expense if no exp in first month

This commit is contained in:
Dany Robert
2024-04-04 16:18:20 +00:00
parent 1816f1d5f0
commit 5c9ce575f6

View File

@@ -360,8 +360,8 @@ def book_deferred_income_or_expense(doc, deferred_process, posting_date=None):
)
if not amount:
return
prev_posting_date = end_date
else:
gl_posting_date = end_date
prev_posting_date = None
# check if books nor frozen till endate: