minor fix

This commit is contained in:
Wilson Gomez 2023-10-10 14:35:33 -05:00
parent c7ac213b85
commit 7acf3b51ed
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ class Collection(ModelSQL, ModelView):
@classmethod
def _get_collection(cls, move, date):
if move.origin and move.origin.amount_to_pay == 0:
return
return []
elif not move.origin:
c = {}
for line in move.lines: