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

[ing] Set owner_type to private

ING France does not provide services to professionals.
parent f41984a8
......@@ -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)
......
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