This addon limits payment mode selection in contract to the brand's allowed.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Limits the payment modes you can pick on a contract to those allowed for the contract's brand. The allowed list is taken from the brand configuration and applied automatically on the contract form.
When you open a contract form, the Payment Mode field no longer shows every payment mode configured in Odoo. It only offers the payment modes that are allowed for the brand linked to that contract.
- The contract form is extended so that the field
payment_mode_idis filtered by a hidden helper field calledallowed_payment_mode_ids. - That helper field is displayed as tags but kept invisible, so users do not see it; it only serves to restrict the dropdown.
- The restriction is a domain on the payment mode field, meaning the selection list is narrowed down before the user chooses.
This module relies on three other modules: one that links contracts to brands, one that adds payment modes to contracts, and one that defines which payment modes each brand allows. The actual list of allowed payment modes comes from the brand configuration provided by those modules; this module only applies that list to the contract screen.
No new menus, buttons, reports, emails or scheduled actions are added. The change is limited to the contract form view for the contract.contract model. If a contract has no brand, or the brand has no allowed payment modes configured, the behaviour depends on those other modules, since this module does not add its own rules or defaults.
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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/brand.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To 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 contract
- 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.
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.
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.