Commit 92af0ea8 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[hsbc] Rename investment labels and codes in iter_liquidity()

Customers complained about weird invest labels that they could not
identify in some of the invests. These invests are actually part of
iter_liquidity, therefore, in order to fit the liquidity model, I
renamed these investments with "Liquidités" and "XX-liquidity".
I on purpose did not use create_french_liquidity because here
liquidities are iterated with klass=Investment in and they have
specific attributes such as original_currency and invest_account_id.

Closes: 7977@zendesk
parent 7acc3dd0
......@@ -467,7 +467,9 @@ class RetrieveLiquidityPage(LoggedPage, JsonPage):
def condition(self):
return Dict('productTypeCode')(self) == 'INVCASH'
obj_label = CleanText(Dict('productShortName'))
obj_label = "Liquidités"
obj_code = "XX-liquidity"
obj_code_type = NotAvailable
obj_valuation = CleanDecimal(
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