contract_mandate
Extends contracts to manage direct debit mandates so recurring invoices are generated with the appropriate mandate.
Key Features
- contract.contract: Adds an editable direct debit mandate field on contracts to record the mandate to use when the payment mode requires it.
- contract.contract: Automatically clears the mandate from a contract when its payment mode no longer requires a mandate to keep data consistent.
- contract.contract: While preparing recurring invoices, carries over the contract's mandate or, if missing, assigns the first valid mandate available for the contract's partner and company.
- contract.contract: Limits mandate choices on the contract form to valid mandates belonging to the contract's commercial partner within the same company.