base_ebill_payment_contract
Provide a base framework for attaching e-billing payment contracts to partners for specific transmit methods.
Key Features
- ebill.payment.contract: Stores the transmit method, customer, start and end dates, and state to represent each eBill contract lifecycle.
- ebill.payment.contract: Automatically shortens the end date when the contract state switches to cancel so validity periods stay accurate.
- ebill.payment.contract: Computes and exposes a searchable is_valid flag that only marks contracts active when they are open and within their date boundaries.
- res.partner: Provides get_active_contract to fetch the partner’s active contract for a given transmit method and logs a warning when none is configured.
- accounting: Adds menu, list, form, and search views under receivables so users can manage eBill payment contracts and filter for valid ones.