From 44e87046d02289cee0bc32579b941f7a668aefd4 Mon Sep 17 00:00:00 2001 From: Christophe Francois Date: Mon, 29 Jun 2020 14:24:37 +0200 Subject: [PATCH] [fortuneo] Fetch market order reference --- modules/fortuneo/pages/accounts_list.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/fortuneo/pages/accounts_list.py b/modules/fortuneo/pages/accounts_list.py index e0e35b969a..6149f2ee79 100644 --- a/modules/fortuneo/pages/accounts_list.py +++ b/modules/fortuneo/pages/accounts_list.py @@ -255,6 +255,11 @@ class item(ItemElement): klass = MarketOrder obj__details_link = AbsoluteLink('.//a[@class="bt_l_loupe"]', default=NotAvailable) + obj_id = Regexp( + Link('.//a[@class="bt_l_loupe"]', default=NotAvailable), + r'idOrdre=([^&]+)', + default=NotAvailable, + ) obj_label = CleanText(TableCell('label')) obj_direction = MapIn(CleanText(TableCell('direction')), MARKET_ORDER_DIRECTIONS, MarketOrderDirection.UNKNOWN) obj_quantity = CleanDecimal.French(TableCell('quantity')) -- GitLab