Commit c6d8b1ef authored by Cyril Brulebois's avatar Cyril Brulebois Committed by Vincent A

[bp] Allow TYPE_LIFE_INSURANCE to call get_history() for retirement_hist.

Solésio Vie is a type of life insurance plan and can show up through
RetirementHistory pages. Call get_history() in this case, in addition
to the TYPE_PREP case.
parent f0f3acea
......@@ -346,7 +346,7 @@ class BPBrowser(LoginBrowser, StatesMixin):
if hasattr(, 'iter_transactions') and
elif account.type == Account.TYPE_PERP and self.retirement_hist.is_here():
elif account.type in (Account.TYPE_PERP, Account.TYPE_LIFE_INSURANCE) and self.retirement_hist.is_here():
return []
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