OdooWiki OCA HUB

Purchase Quick Discount

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

This module extends the OCA purchase_quick module to add discount fields.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a Discount column to the quick purchase product list, showing the supplier discount that will be applied for the selected vendor and quantity.

This module is a small bridge between the quick purchase screen and the purchase discount feature. It does not create new menus; instead it adds one column to the product list used when quickly building a purchase order.

What users see: - In the quick purchase product list, a new "Discount" column appears next to the supplier price. - The column is hidden when the discount is zero, so only products with an actual discount are highlighted.

The value shown is calculated automatically for each product: - Odoo looks at the vendor selected on the purchase order and the quantity being processed. - It finds the matching supplier price line for that vendor and quantity. - It copies the discount percentage defined on that supplier line into the column. - If no matching supplier line is found, the discount stays at zero.

The calculation refreshes when supplier information or the quantity to process changes, so the displayed discount stays in line with the vendor and quantity chosen.

Under the hood it touches the product.product model and the supplier information (seller_ids), and it extends the existing quick purchase product tree view. No new reports, emails, or scheduled actions are added.

Required by other modules

Models and fields (1)
  • product.product · extends an existing modelmass_addition_purchase_discount

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.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.