Introduce _prepare_* functions in the function action_sent(), to make inheritance easier.
Add support for payment lines with move_line_id = False (for example, when you make an advance payment for a supplier order).
In a nutshell, this commit
- moves payment_order_type (payment|debit) to account_banking_payment_export
- makes payment_order_type visible in account_direct_debit
- make direct_debit depend on account_banking_payment_export
- constraints
- display related payment lines
- set mandates to expired after 36 months of inactivity (via a cron)
- add tracking/chatter
- add default draft state + validate button
[FIX] In Debit mode, don't use the partner_bank_id of the customer invoice !
In the wizard 'Select invoices to pay', add maturity date in the view of the account move lines
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes
- account_banking_payment_export does not depend on account_banking
- account_banking_payment is consequently stripped of above features
- account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow