In Odoo, each product can be linked to multiple vendor lines, with each line containing details such as:
- Vendor
- Quantity
- Price
- Start Date and End Date
- Delivery Lead Time
When a product has multiple vendor lines with different vendors, Odoo always selects the first vendor in the list.
If there are multiple vendor lines with the first vendor in the list, the system will select the line with the lowest price that meets the Quantity and Start/End Date criteria.
If none of the vendor lines meet the Quantity and Start/End Date criteria, the system will select the vendor from the first line but will not set a price on the purchase order.
Important points:
- Price is only considered if the vendor is the same across multiple lines. If each vendor line lists a different vendor, Odoo will choose the first line, which may not necessarily have the lowest price.
- Quantity and Start/End Date affect only the price applied to the purchase order, not the vendor selection.
- Delivery Lead Time does not affect the vendor selection process.
If you need a specific vendor for a particular reordering rule, you can set the preferred vendor in the reordering rule.