Commit 7cc50b7a authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Vincent A

[cmb] Add parent config attributes in module

It avoids bad config instantiation from parent.
parent 84c7372d
......@@ -38,6 +38,14 @@ class CmbModule(AbstractModule, CapBankTransfer, CapContact):
DESCRIPTION = u'Crédit Mutuel de Bretagne'
LICENSE = 'LGPLv3+'
PARENT = 'cmso'
CONFIG = BackendConfig(
ValueBackendPassword('login', label='Identifiant', masked=False),
ValueBackendPassword('password', label='Mot de passe'),
ValueTransient('code'),
ValueTransient('request_information'),
Value('website', label='Type de compte', default='par',
choices={'par': 'Particuliers', 'pro': 'Professionnels'})
)
AVAILABLE_BROWSERS = {'par': CmbParBrowser, 'pro': CmbProBrowser}
CONFIG = BackendConfig(ValueBackendPassword('login', label='Identifiant', masked=False),
......
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