diff --git a/modules/ing/api/accounts_page.py b/modules/ing/api/accounts_page.py index cf48e819c44f3ea089f194c9926d72620127fbfd..017d90454dc0424c2e974ebcccd307d16259a1d2 100644 --- a/modules/ing/api/accounts_page.py +++ b/modules/ing/api/accounts_page.py @@ -30,7 +30,10 @@ CleanText, CleanDecimal, Date, Eval, Lower, Format, Field, Map, Upper, MapIn, ) -from woob.capabilities.bank import Account, AccountOwnership, Investment +from woob.capabilities.bank import ( + Account, AccountOwnership, Investment, + AccountOwnerType, +) from woob.tools.capabilities.bank.investments import IsinCode, IsinType from woob.tools.capabilities.bank.transactions import FrenchTransaction from woob.capabilities.base import NotAvailable @@ -95,6 +98,7 @@ class item(ItemElement): obj_label = Dict('type/label') obj_type = MapIn(Dict('type/label'), ACCOUNT_TYPES, Account.TYPE_UNKNOWN) obj_number = CleanText(Dict('label'), replace=[(' ', '')]) + obj_owner_type = AccountOwnerType.PRIVATE def obj_balance(self): # ledgerBalance=-X and hasPositiveBalance=false -> negative balance (checking account)