Merge lp:~therp-nl/banking-addons/ba70-partner_journal_accounts into lp:banking-addons
Status: | Merged |
---|---|
Merged at revision: | 210 |
Proposed branch: | lp:~therp-nl/banking-addons/ba70-partner_journal_accounts |
Merge into: | lp:banking-addons |
Diff against target: |
431 lines (+314/-39) 10 files modified
account_banking/__init__.py (+1/-0) account_banking/banking_import_transaction.py (+13/-19) account_banking/res_partner.py (+72/-0) account_banking/wizard/banking_transaction_wizard.py (+18/-20) account_banking_partner_journal_account/__init__.py (+1/-0) account_banking_partner_journal_account/__openerp__.py (+44/-0) account_banking_partner_journal_account/i18n/account_banking_partner_journal_account.pot (+35/-0) account_banking_partner_journal_account/i18n/nl.po (+41/-0) account_banking_partner_journal_account/res_partner.py (+68/-0) account_banking_partner_journal_account/res_partner_view.xml (+21/-0) |
To merge this branch: | bzr merge lp:~therp-nl/banking-addons/ba70-partner_journal_accounts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve | |
Review via email: mp+195517@code.launchpad.net |
Commit message
[ADD] Module that allows for alternative partner journal accounts
to be used as defaults in imported bank statements (incl. small,
necessary refactoring in core module)
Description of the change
Adding a module with the following description:
===
This module allows to set alternative journal accounts on partners to use as default accounts in imported bank statements.
This is useful when regular transactions on clearing accounts occur. Such clearing accounts cannot usually be selected as default partner accounts because they are neither of type 'payable' nor 'receivable' (or at least never at the same time!). For the alternative journal accounts for bank transactions, any reconcilable account can be selected.
When a transaction matches a specific move in the system, the account from the move line takes still precedence so as not to impede reconciliation.
===
About the code:
For this functionality, a small refactoring was needed in account_banking
Same as 6.1 version here: https:/
There is also an additional change in 7.0 because this version resets the account when matching is being undone which calls for the same logic.