Skip to Content

Vendor Catalog Discount Fix

Ensures that vendor-defined discount percentages automatically populate the Purchase Order line whenever a product is added via the Vendor Catalog
November 14, 2025 by
Vendor Catalog Discount Fix
Silverdale Technology, Somroo Hassaan
| No comments yet

In Odoo 18, vendor-specific pricing is maintained through vendor pricelist entries configured on the product form under the Purchase tab. These entries allow users to define the vendor, minimum quantity, vendor price, discount percentage, currency, and lead time. While Odoo correctly stores this information at the product level, a functional gap appears when adding items to a Purchase Order using the Vendor Catalog feature.

Currently, when users open a Purchase Order, select a vendor, and click the Catalog button to add products, Odoo correctly pulls the vendor-specific price—but fails to apply the discount (%) defined in the product’s vendor pricelist line. This results in inaccurate purchase pricing, manual corrections, and inconsistent vendor cost management.

The Vendor Catalog Discount Fix addresses this gap by ensuring that vendor-defined discount percentages automatically populate the Purchase Order line whenever a product is added via the Vendor Catalog.

Key Features

1. Correct Discount Retrieval

When a product is added through the Vendor Catalog:

  • The system reads the vendor pricelist lines from the product’s Purchase tab.
  • The matching line (based on vendor and quantity conditions) is located.
  • The Discount (%) field on the Purchase Order line is automatically populated with the value defined on the vendor pricelist.

2. Accurate PO Cost Calculations

  • The unit price and discount flow into the PO line exactly as configured.
  • The resulting subtotal reflects the discounted cost, ensuring financial accuracy.
  • No manual input or corrections are required from the purchaser.

3. Fully Compatible with Odoo 18 Vendor Price Logic

The logic respects:

  • Vendor
  • Quantity thresholds
  • Currency
  • Vendor-specific discount field
  • Unit of measure conversions

Works seamlessly with existing Odoo behavior for PO line creation and price computation.

Outcome

This enhancement eliminates discrepancies between vendor price configurations and the actual Purchase Order values. It ensures:

  • Consistent and reliable vendor pricing
  • Reduced manual corrections
  • Accurate cost tracking and reporting
  • Better alignment with negotiated vendor terms

The result is a smoother, error-free purchasing workflow where price and discount data are always correctly applied when sourcing products through the Vendor Catalog.

Share this post
Sign in to leave a comment