OdooWiki OCA HUB

Contract Sale Payment Mode

contract_sale_payment_mode folder_open OCA/contract open_in_new
Uncategorised License: AGPL-3

This module manages the payment mode from sale order to contract.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you choose a different payment mode for contracts generated from sale orders than the one used for invoices, controlled by a company-level setting.

This module adds an option so that contracts created from sale orders can use a payment mode that is different from the one used for the sale order invoices.

  • In Sales settings, a new checkbox 'Specific payment mode for contracts created from sale orders' appears. It is company-specific, so each company can decide independently.
  • When the option is enabled, the sale order form shows an extra field 'Contract Payment Mode' next to the usual payment mode. Only inbound payment modes can be selected, and you cannot create new ones from there.
  • When a contact is selected on a sale order, the contract payment mode is automatically filled with that contact's customer payment mode.
  • When the contract is generated from the sale order, the module decides which payment mode to put on the contract: if the company option is on, it uses the contract payment mode chosen on the sale order; otherwise it uses the regular sale order payment mode.
  • The setting is stored on the company and exposed in the configuration screen, and the extra field is added to the sale order form.

It touches the company settings, the sale order, and the contract creation values, relying on the payment mode and contract modules.

Models and fields (3)
  • sale.order · extends an existing modelcontract_payment_mode_id (Contract Payment Mode), specific_contract_payment_mode (Different payment mode for contracts generated from sale orders)
  • res.company · extends an existing modelspecific_contract_payment_mode (Specific payment mode for contracts created from sale orders)
  • res.config.settings · extends an existing modelspecific_contract_payment_mode (Specific payment mode for contracts created from sale orders)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.