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 d2f28f46 authored by Martin Lavoie's avatar Martin Lavoie Committed by Vincent A

[bnppere] Set owner_type to private

parent 5fec2892
......@@ -28,7 +28,9 @@
Field, Env, MapIn,
)
from woob.capabilities.base import NotAvailable, empty
from woob.capabilities.bank import Account, Transaction
from woob.capabilities.bank import (
Account, Transaction, AccountOwnerType,
)
from woob.capabilities.wealth import Investment, PerVersion
from woob.browser.filters.html import Attr
from woob.capabilities.profile import Profile
......@@ -102,6 +104,7 @@ def obj_id(self):
obj_label = CleanText('./td[2]', replace=[(' o ', ' ')])
obj_currency = Currency('./td[6]')
obj_company_name = CleanText('./td[3]')
obj_owner_type = AccountOwnerType.PRIVATE
def obj__sublabel(self):
# Use the second part of the label to determine account index
......
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