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

[s2e] Set owner_type to private

parent d2f28f46
......@@ -44,7 +44,9 @@
from woob.browser.filters.json import Dict
from woob.browser.filters.javascript import JSVar
from woob.browser.exceptions import HTTPNotFound, LoggedOut
from woob.capabilities.bank import Account, Transaction
from woob.capabilities.bank import (
Account, Transaction, AccountOwnerType,
)
from woob.capabilities.wealth import Investment, Pocket
from woob.capabilities.profile import Person
from woob.capabilities.bill import Document, DocumentTypes
......@@ -711,6 +713,7 @@ def condition(self):
obj_id = obj_number = Env('id')
obj_label = Env('label')
obj_owner_type = AccountOwnerType.PRIVATE
def obj_type(self):
return MapIn(Upper(Field('label')), self.page.TYPES, Account.TYPE_PEE)(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