diff --git a/modules/boursorama/pages.py b/modules/boursorama/pages.py index f491c3a8e4a4cb00f231018d17edca2c8b7ec5a0..11e1cbb744ec134860048b0ffe82fbf0b2575705 100644 --- a/modules/boursorama/pages.py +++ b/modules/boursorama/pages.py @@ -597,6 +597,12 @@ def inner(page, *args, **kwargs): 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): diff --git a/modules/societegenerale/pages/accounts_list.py b/modules/societegenerale/pages/accounts_list.py index 37caaa4f192ba73a1eecfadb138a2af6330332ee..90cd50e628da85bfd5d3d5623a346261a0bc4610 100644 --- a/modules/societegenerale/pages/accounts_list.py +++ b/modules/societegenerale/pages/accounts_list.py @@ -473,6 +473,12 @@ def obj_vdate(self): 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': (