The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 6caea2f9 authored by mgasselin's avatar mgasselin Committed by Romain Bignon

[creditmutuel] id form changes for cards

The last id form seems to not exists anymore. But with all children,
it's safier to keep it.

Closes: 37603@sibi
parent ea945ca7
......@@ -776,7 +776,11 @@ def select_card(self, card_number):
if Attr('.', 'selected', default=None)(option):
break
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_DoChangeCardDetails'] = ""
form['Data_SelectedCardItemKey'] = Attr('.', 'value')(option)
return self.browser.open(form.url, data=dict(form)).page
......
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