OdooWiki OCA HUB

Purchase Partner Selectable Option

purchase_partner_selectable_option folder_open OCA/purchase-workflow open_in_new
Purchase License: AGPL-3

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

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Selectable in purchase orders" flag on contacts so you can control which vendors appear when choosing a partner on a purchase order. Only contacts with the flag enabled can be picked.

This module gives you a simple way to keep unwanted contacts out of the vendor selection on purchase orders.

  • On the contact form, in the Purchase section, a new checkbox "Selectable in orders" appears. It is stored on the contact and is enabled by default.
  • On purchase order forms, the partner field is automatically filtered so that only contacts with this checkbox enabled can be selected. Contacts without the flag no longer show up in the vendor drop-down.
  • On the contact form, the smart button that shows the related purchase orders is hidden for contacts that are not selectable in purchase orders.
  • A system parameter controls the default value of the checkbox for new contacts. Its default value is "1", meaning new contacts are selectable unless you change the parameter to "0".

The module touches res.partner (the contact model) and purchase.order (the purchase order model). It does not add new menus; the checkbox is added to the existing contact form and the filter is applied to the existing purchase order form.

Depends on

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

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

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to:

  • Go to Contacts \> Contacts
  • Create a record and uncheck the "Selectable in purchase orders" box on the Purchase part of the "Sales & Purchases" tab.

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

To use this module, you need to:

  • Go to Purchase \> Orders \> Request for Quotations
  • Create a record and the previously created partner will not appear in the Vendor 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.