purchase_partner_selectable_option
This module restricts the selection of partners in purchase orders based on a configurable selectable flag.
Key Features
- res.partner: Adds a boolean field to indicate if a partner can be selected in purchase orders.
- res.partner: Sets the default value of the selectable field based on a system parameter.
- purchase.order: Filters the partner selection in purchase order forms to only include selectable partners.
- res.partner: Displays the selectable field in the partner form view under the Purchase section.
- res.partner: Hides the create purchase order button on partner records if the partner is not selectable.
- configuration: Provides a system parameter to configure the default value for the partner selectable flag.