~therp-nl/banking-addons/ba7.0-lp1289430-cashbox_compatibility

Viewing all changes in revision 227.

  • Committer: Stefan Rijnhart
  • Author(s): stephane.bidoul at acsone
  • Date: 2014-03-01 14:47:05 UTC
  • mfrom: (225.1.10 banking-addons)
  • Revision ID: stefan@therp.nl-20140301144705-uceoddxmsa1toqum
[RFR] Refactoring of direct debit to pull less dependencies.

Result of a sprint with Akexis de Lattre in a corridor at Fosdem 2014.

In a nutshell, this MP moves the hooks that are necessary for account_direct_debit from account_banking_payment to account_banking_payment_export, resulting in a leaner dependency graph [1].

account_banking_payment (and thus account_banking core) is therefore not necessary anymore for doing direct debit.
account_banking_payment can now be seen as providing two essential functions:
1/ adding the notion of transfer account on payment modes (marking the invoices paid as soon as the payment order is sent)
2/ bridging with the bank statement reconciliation features of account_banking core

IMO, the next step in the refactoring process would be to move 1/ to a stand-alone module.

Other things in this branch:
- removing auto_install=True that we found unnecessary and potentially risky
- demo data by Alexis
- a trivial bug fix
- setting noupdate=1 for the SEPA payment mode types
- allow payment of customer refunds lp:1275478

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: