lingo: do not crash on missing invoice creation or payment limit dates (#55686)
This commit is contained in:
parent
56efce9b00
commit
ec871b6ba6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue