fix: missing def expense if no exp in first month
(cherry picked from commit 5c9ce575f6)
This commit is contained in:
@@ -360,8 +360,8 @@ def book_deferred_income_or_expense(doc, deferred_process, posting_date=None):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not amount:
|
if not amount:
|
||||||
return
|
prev_posting_date = end_date
|
||||||
|
else:
|
||||||
gl_posting_date = end_date
|
gl_posting_date = end_date
|
||||||
prev_posting_date = None
|
prev_posting_date = None
|
||||||
# check if books nor frozen till endate:
|
# check if books nor frozen till endate:
|
||||||
|
|||||||
Reference in New Issue
Block a user