Use the last journal encoded of the day to fill start balance
issue5939 review27681002
This commit is contained in:
1 parent
3233f49913
commit
c7ed8f340d
1 file changed
+1
@@ -214,6 +214,7 @@ class Statement(Workflow, ModelSQL, ModelView):
|
||||
('journal', '=', self.journal.id),
|
||||
], order=[
|
||||
('date', 'DESC'),
|
||||
('id', 'DESC'),
|
||||
], limit=1)
|
||||
if not statements:
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user