The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 1acf9b79 authored by Martin Lavoie's avatar Martin Lavoie Committed by Vincent A

[fortuneo] Set owner_type to private

Fortuneo do not provides services to professionnals.
parent fe93f52a
......@@ -34,7 +34,9 @@
CleanText, CleanDecimal, Regexp, Date, Currency, Base, Field, MapIn,
)
from woob.capabilities import NotAvailable
from woob.capabilities.bank import Account, AccountOwnership
from woob.capabilities.bank import (
Account, AccountOwnership, AccountOwnerType,
)
from woob.capabilities.wealth import (
Investment, MarketOrder, MarketOrderDirection, MarketOrderType,
MarketOrderPayment,
......@@ -704,6 +706,7 @@ def obj__transfers_link(self):
obj_id = obj_number = CleanText('./a[contains(@class, "numero_compte")]/div', replace=[('N° ', '')])
obj__ca = CleanText('./a[contains(@class, "numero_compte")]/@rel')
obj_owner_type = AccountOwnerType.PRIVATE
obj__tpp_id = NotAvailable
def obj__card_links(self):
......
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