Commit 4f4e3218 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[societegenerale] avoid transaction with null id in card transaction

transaction with null id are not card transaction
parent 2c3d462d
......@@ -263,8 +263,7 @@ class HistoryPage(JsonBasePage):
class item(TransactionItemElement):
def condition(self):
conditions = (
Regexp(CleanText(Dict('idOpe')), r'(\d+)/')(self) == '0',
Dict('idOpe')(self) and Regexp(CleanText(Dict('idOpe')), r'(\d+)/')(self) == '0',
Env('card_number')(self) in Dict('libOpe')(self),
Dict('statutOperation')(self) == 'COMPTABILISE',
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