From 328d026a311c3ed76e2721d32127aadc6c70cd65 Mon Sep 17 00:00:00 2001 From: Sylvie Ye Date: Thu, 22 Mar 2018 16:11:37 +0100 Subject: [PATCH] [bp] add default value in total amount for a loan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Can have 'Donnée non disponible' in 'Montant initial emprunté' tab. Closes: 580241@redmine --- modules/bp/pages/accountlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bp/pages/accountlist.py b/modules/bp/pages/accountlist.py index 15218487d4..4e65bb4096 100644 --- a/modules/bp/pages/accountlist.py +++ b/modules/bp/pages/accountlist.py @@ -198,7 +198,7 @@ def load_details(self): 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): -- GitLab