Merge lp:~therp-nl/banking-addons/6.0interactive-support_v5_migration into lp:~therp-nl/banking-addons/6.0-interactive-matching-and-debit-orders
Proposed by
Stefan Rijnhart (Opener)
Status: | Merged |
---|---|
Merged at revision: | 113 |
Proposed branch: | lp:~therp-nl/banking-addons/6.0interactive-support_v5_migration |
Merge into: | lp:~therp-nl/banking-addons/6.0-interactive-matching-and-debit-orders |
Diff against target: |
112 lines (+95/-1) 2 files modified
account_banking/__openerp__.py (+1/-1) account_banking/migrations/0.1.111/pre-move_payment_type.py (+94/-0) |
To merge this branch: | bzr merge lp:~therp-nl/banking-addons/6.0interactive-support_v5_migration |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp (community) | Approve | ||
Therp | Pending | ||
Review via email: mp+111744@code.launchpad.net |
To post a comment you must log in.
Seems fine to me, well done for the neatness and clarity.
About the iteration on dict:
97 + for table in column_spec.keys():
We should avoid to use dict.keys() because it will build a copy of the list of keys before the iteration, while dict.iterkeys() will never build it.
You can even write spec.iterkeys( )
for table in column_spec:
which is a shorthand for column_
Anyway, here there is only a few keys so it won't really change.
It can be merged.