OdooWiki OCA HUB

Contract Payment Mode

contract_payment_mode folder_open OCA/contract open_in_new
Sales Management License: AGPL-3

This module allows to set a payment mode on contract for creating the invoices with this payment mode.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a Payment Mode field to contracts so that invoices generated from a contract automatically carry the same payment mode as the contract.

This module links contracts to payment modes and passes that choice on to the invoices created from them.

  • On a contract, a new "Payment Mode" field appears right after the customer/supplier. It is filled in automatically from the partner's default payment mode: the customer payment mode for customer contracts and the supplier payment mode for supplier contracts. Users can still change it manually.
  • The field is also available as an optional column in the contract list and as a search filter, so contracts can be found or grouped by payment mode.
  • On supplier contracts, the field only offers outbound (payment) modes; on customer contracts it only offers inbound (receipt) modes.
  • When a contract generates an invoice, the contract's payment mode is copied onto that invoice, so the invoice is created with the right payment method without retyping it.

The module extends the existing contract.contract model and its form, list, search and supplier form views. It is installed automatically when both the Contracts and Payment Mode modules are present.

Models and fields (1)
  • contract.contract · extends an existing modelpayment_mode_id (Payment Mode)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

Your user should be a Sales Manager or Accountant.

  • Go to Invoicing \> Customers \> Customer Contracts.
  • Create one.
  • Select a partner to which invoice.
  • If the partner has a payment mode, this payment mode is selected here.
  • If not, or if you want another payment mode, you can change it in the corresponding field.
  • Add a product to invoice.
  • If you create an invoice, new invoice will have the selected payment mode.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.