Merge lp:~therp-nl/banking-addons/6.1-typo_in_postcode_handling into lp:~banking-addons-team/banking-addons/6.1-dev

Proposed by Stefan Rijnhart (Opener)
Status: Superseded
Proposed branch: lp:~therp-nl/banking-addons/6.1-typo_in_postcode_handling
Merge into: lp:~banking-addons-team/banking-addons/6.1-dev
Prerequisite: lp:~therp-nl/banking-addons/6.1-dev-useful_defaults
Diff against target: 14 lines (+1/-3)
1 file modified
account_banking/sepa/postalcode.py (+1/-3)
To merge this branch: bzr merge lp:~therp-nl/banking-addons/6.1-typo_in_postcode_handling
Reviewer Review Type Date Requested Status
Banking Addons Core Editors Pending
Review via email: mp+104517@code.launchpad.net

This proposal has been superseded by a proposal from 2012-05-03.

To post a comment you must log in.

Unmerged revisions

134. By Pieter J. Kersten

[FIX] Typo in postcode handling

133. By Stefan Rijnhart (Opener)

[ADD] Useful defaults on simple setups for import settings (lp:931395)
[ADD] Default to first available parser on the import wizard
[FIX] Statements field on import wizard not invisible in initial state
[FIX] Typo in Dutch translation

132. By Stefan Rijnhart (Opener)

[FIX] Duplicate statement line does not show up red on statement due to
 color precendence
[FIX] Cannot cancel statement line

131. By Stefan Rijnhart (Opener)

[FIX] Ability to encode statements manually,
 as well as compatibility with point_of_sale module (lp 992141)
[FIX] Post vouchers using workflow
[FIX] Remove redundant move_id fields on statement line.
 Use existing move_ids field instead. This restores
 the ability to cancel legacy (stateless) statement lines.

130. By Stefan Rijnhart (Opener)

[FIX] Selection of bugs and style issues found by pylint

129. By Stefan Rijnhart (Opener)

[RFR] Restore confirm and cancel logic for other match types
[RFR] Adapt direct debit workflow to 6.1

128. By Stefan Rijnhart (Opener)

[MRG] Merged with main development branch

127. By Stefan Rijnhart (Opener)

[ADD] Move voucher logic from statement line to the transaction level
     Preserve legacy methods for canceling reconciliation oriented transactions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_banking/sepa/postalcode.py'
2--- account_banking/sepa/postalcode.py 2010-07-16 14:44:59 +0000
3+++ account_banking/sepa/postalcode.py 2012-05-03 10:32:23 +0000
4@@ -46,9 +46,7 @@
5 '''
6 # Sort formats on length, longest first
7 formats = [(len(x), x) for x in format.split('|')]
8- formats.sort()
9- formats.reverse()
10- formats = [x[1] for x in formats]
11+ formats = [x[1] for x in sorted(formats, lambda x,y: -cmp(x,y))]
12 self.res = [re.compile(x.replace('#', '\\d').replace('@','[A-Z]'))
13 for x in formats
14 ]

Subscribers

People subscribed via source and target branches