Commit 328d026a authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[bp] add default value in total amount for a loan

Can have 'Donnée non disponible' in 'Montant initial emprunté' tab.

Closes: 580241@redmine
parent 6d56fc88
......@@ -198,7 +198,7 @@ class AccountList(LoggedPage, MyHTMLPage):
url = Link('.//a', default=NotAvailable)(self)
return self.page.browser.async_open(url=url)
obj_total_amount = CleanDecimal(TableCell('total_amount'), replace_dots=True)
obj_total_amount = CleanDecimal(TableCell('total_amount'), replace_dots=True, default=NotAvailable)
def obj_id(self):
if TableCell('label', default=None)(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment