Commit 509f8c15 authored by Edouard Lambert's avatar Edouard Lambert Committed by Vincent A

[societegenerale] add transaction_klass to get it from stet module

Also boursorama
parent 5a7cac67
......@@ -597,6 +597,12 @@ def otp_pagination(func):
class HistoryPage(LoggedPage, HTMLPage):
"""
be carefull : `transaction_klass` is used in another page
of an another module which is an abstract of this page
"""
transaction_klass = Transaction
@otp_pagination
@method
class iter_history(ListElement):
......
......@@ -473,6 +473,12 @@ class TransactionItemElement(ItemElement):
class HistoryPage(JsonBasePage):
"""
be carefull : `transaction_klass` is used in another page
of an another module which is an abstract of this page
"""
transaction_klass = Transaction
def hist_pagination(self, condition):
all_conditions = {
'history': (
......
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