bred fix duplicates accounts
This commit is contained in:
parent
8a893fbb9f
commit
9440ecf5b7
1 changed files with 4 additions and 0 deletions
|
|
@ -79,6 +79,10 @@ class BredBrowser(DomainBrowser):
|
|||
a.id = '%s.%s' % (a._number, a._nature)
|
||||
a.type = self.ACCOUNT_TYPES.get(poste['codeNature'], Account.TYPE_UNKNOWN)
|
||||
|
||||
if 'numeroDossier' in poste and poste['numeroDossier']:
|
||||
a._file_number = poste['numeroDossier']
|
||||
a.id += '.%s' % a._file_number
|
||||
|
||||
if poste['postePortefeuille']:
|
||||
a.label = u'Portefeuille Titres'
|
||||
a.balance = Decimal(str(poste['montantTitres']['valeur']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue