Remove (finally!) the index on ing / do not get coming operations
This commit is contained in:
parent
1838f62e28
commit
346c6efc6b
2 changed files with 3 additions and 10 deletions
|
|
@ -133,7 +133,7 @@ class AccountsList(LoggedPage, HTMLPage):
|
|||
|
||||
@method
|
||||
class get_transactions(ListElement):
|
||||
item_xpath = '//table'
|
||||
item_xpath = '//div[@class="temporaryTransactionList"]//table'
|
||||
|
||||
class item(ItemElement):
|
||||
klass = Transaction
|
||||
|
|
@ -150,9 +150,6 @@ class AccountsList(LoggedPage, HTMLPage):
|
|||
def condition(self):
|
||||
if self.el.find('.//td[@class="date"]') is None:
|
||||
return False
|
||||
if self.page.i < self.env['index']:
|
||||
self.page.i += 1
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_history_jid(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue