~banking-addons-team/banking-addons/6.1-dev

« back to all changes in this revision

Viewing changes to account_banking_nl_triodos/triodos.py

  • Committer: Stefan Rijnhart
  • Date: 2011-07-24 18:58:32 UTC
  • Revision ID: stefan@therp.nl-20110724185832-ysk13zovhmjicngj
[IMP] Provide upgrade path for the previously pushed revision
[FIX] Layout change in the Triodos CSV format (account numbers)

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        # Set statement_id based on week number
69
69
        self.statement_id = self.effective_date.strftime('%Yw%W')
70
70
        self.id = str(subno).zfill(4)
 
71
        # Normalize basic account numbers
 
72
        self.remote_account = self.remote_account.replace('.', '').zfill(10)
 
73
        self.local_account = self.local_account.replace('.', '').zfill(10)
71
74
 
72
75
class transaction(models.mem_bank_transaction):
73
76
    '''