minor fix
This commit is contained in:
parent
c7ac213b85
commit
7acf3b51ed
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue