From ee825a6df1c161c6dc010a266be4120ca0bc4bb8 Mon Sep 17 00:00:00 2001 From: Maxime Gasselin Date: Fri, 8 Mar 2019 16:25:11 +0100 Subject: [PATCH] [creditmutuel] Change form id account The last id form seems to not exists anymore. But with all children, it's safier to keep it. Closes: 33875@sibi --- modules/creditmutuel/pages.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index fc107fbd84..07f30e0b51 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -641,7 +641,11 @@ class Transaction(FrenchTransaction): class OperationsPage(LoggedPage, HTMLPage): def go_on_history_tab(self): - form = self.get_form(id='I1:fm') + try: + # Maybe obsolete + form = self.get_form(id='I1:fm') + except FormNotFound: + form = self.get_form(id='I1:P:F') form['_FID_DoShowListView'] = '' form.submit() -- GitLab