OdooWiki OCA HUB

Sale Payment Mode Brand

sale_payment_mode_brand folder_open OCA/brand open_in_new
Uncategorised License: AGPL-3

This addon limit payment mode selection is sale order to the brand allowed payment mode.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

On a sales order, the Payment Mode field only shows the payment modes allowed for the order's brand, so users cannot pick a payment method that the brand does not permit.

This module adds a restriction to the Payment Mode field on the sales order form. When a user opens a sales order and clicks on the Payment Mode field, the list of choices is filtered automatically.

  • Only payment modes that are allowed for the brand of the sales order are offered.
  • Only incoming payment modes (money received from the customer) are offered, so outgoing payment methods are hidden.

The restriction is applied through a domain on the payment_mode_id field of the sale.order model, which means it works both in the form view and wherever that field is used with the same view. The allowed payment modes come from the brand configuration set up by the related brand and payment mode modules this module depends on.

No new menus, buttons, reports, emails or scheduled actions are added. The module only changes the existing sales order screen. It touches the sale.order model and its form view inherited from the standard sales payment view. If a brand has no allowed payment modes configured, the field will simply show no available choices.

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

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Define the brand use level (see brand module documentation)
  • Go to Settings \> Users & Companies \> Brands
  • Select a brand
  • Define allowed payment modes
  • Create a new sale order
  • Select the brand
  • Select a payment mode

The payment mode list is filtered with the brand allowed payment modes.

No verified information in OCA: Installation, Configuration.

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.