diff --git a/combo/apps/lingo/models.py b/combo/apps/lingo/models.py index 392fc7ec..857a662d 100644 --- a/combo/apps/lingo/models.py +++ b/combo/apps/lingo/models.py @@ -711,8 +711,8 @@ class RemoteItem(object): ): self.id = id self.regie = regie - self.creation_date = dateparse.parse_date(creation_date) - self.payment_limit_date = dateparse.parse_date(payment_limit_date) + self.creation_date = dateparse.parse_date(creation_date or '') + self.payment_limit_date = dateparse.parse_date(payment_limit_date or '') self.total_amount = Decimal(total_amount) self.amount = Decimal(amount) if amount_paid: