OdooWiki OCA HUB

Purchase and Invoice Allowed Product

purchase_allowed_product folder_open OCA/purchase-workflow open_in_new
Accounting & Finance License: AGPL-3

This module adds a restriction in purchase and supplier invoices that has the mark "Order and invoice only supplied products" checked for allowing to select only products that can be supplied by the defined vendor.

The restriction can be set by default for each partner, and it's propagated to their supplier invoices and purchases, but it can be changed for each invoice and purchase order if you want.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds an option on vendors, purchase orders and supplier invoices to only allow choosing products that the vendor actually supplies. The setting defaults from the vendor and can be changed per document.

This module helps you avoid picking the wrong product when buying from a vendor. It adds a toggle called "Order and invoice only supplied products" on the vendor (partner) form, in the Purchase tab.

When that toggle is on for a vendor, new purchase orders and supplier invoices for that vendor automatically get a related toggle ("Use only allowed products") switched on. You can still turn it off on a specific order or invoice if needed.

While the toggle is active on a purchase order or a supplier invoice/refund, the product field only offers products that are linked to that vendor through the vendor pricelist information. Products not supplied by that vendor are hidden from the selection.

On supplier invoices, the toggle is only visible while the document is still in draft and is a supplier invoice, refund or receipt. When you create an invoice from a purchase order, the setting is carried over automatically. The vendor's setting is also copied when you use the "Auto-Complete" feature to pull in an existing vendor bill.

It touches purchase orders, supplier invoices and their lines, vendor records, and the vendor pricelist information used to decide which products are allowed.

Models and fields (5)
  • res.partner · extends an existing modeluse_only_supplied_product (Order and invoice only supplied products)
  • account.move · new model
  • purchase.order · new model
  • product.supplierinfo · extends an existing modelpartner_id
  • supplied.product.mixin · new modeluse_only_supplied_product (Use only allowed products)

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

Sources · Odoo 19.0

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

terminal Installation and usage

No verified information

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.

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.