OdooWiki OCA HUB

Sale Partner Selectable Option

sale_partner_selectable_option folder_open OCA/sale-workflow open_in_new
Sales Management License: AGPL-3

This module limits the partners to be selected in the sales orders according to the "Selectable in orders" field.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a "Selectable in sale orders" checkbox on contacts so you can control which customers appear when choosing a partner on a sales order.

This module gives you a simple on/off switch on each contact to decide whether that contact can be picked as the customer on a sales order.

  • On the contact form, in the Sales section, a new checkbox "Selectable in orders" appears. When it is ticked, the contact can be chosen on sales orders; when it is unticked, it is hidden from the customer selection on the sales order form.
  • The filter is applied automatically to the customer field of the sales order form, so users only see contacts that are marked as selectable.
  • A system setting controls the default value of this checkbox for new contacts: by default it is ticked (value 1), but it can be changed so new contacts start unticked.
  • On the contact form, the smart button that shows the related sales orders is hidden for contacts that are not selectable in orders.

It touches the contact (res.partner) and sales order (sale.order) areas of Odoo. No new menus are added; the change appears directly on existing contact and sales order screens.

Depends on

sale
Models and fields (2)
  • sale.order · extends an existing model
  • res.partner · extends an existing modelsale_selectable (Selectable in sale orders)

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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

The "Selectable in sale orders" field is set to True by default. To change this default to False, adjust the system parameter 'sale_partner_selectable_option.default_sale_selectable' by setting it to "0".

To use this module, you need to:

  • Go to Contacts \> Contacts
  • Create a record and uncheck the "Selectable in orders" box on the Sales part of the "Sales & Purchases" tab.
  • Go to Sales \> Orders \> Quotations
  • Create a record and the previously created partner will not appear in the Customer field.

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.