Purchase order lines with discounts
purchase_discountPurchase order lines with discounts
This module allows to define a discount per line in the purchase orders. This discount can be also negative, interpreting it as an increment.
It also modifies the purchase order report to include the discount field in it.
This module allows to input a discount in the supplier info form, and propagate it to purchase order lines:
- The discount appears explicitly in purchase orders instead of being directly discounted in price.
- You can set prices and discounts on the same screen.
- A new field default_supplierinfo_discount is added on res.partner model. This value will be used as the default one, on each supplierinfo of that supplier.
Note: this setting is a new ‘company’ setting, unavailable for related partners, as accounting-related Settings.
Table of contents
Usage
Go to Purchase > Products, open one product, and edit or add a record on the Vendors section of the Purchase tab. You will see in the prices section in the down part a new column called Discount (%). You can enter here the desired discount for that quantity.
When you make a purchase order for that supplier and that product, discount will be put automatically.
Known issues / Roadmap
With this module, the price_unit field of purchase order line stores the gross price instead of the net price, which is a change in the meaning of this field. So this module breaks all the other modules that use the price_unit field with it’s native meaning.
| Technical name | purchase_discount |
|---|---|
| Module version | 12.0.1.0.8 |
| Tulio versions | 1.0 |
| Category | Inventory |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Tiny, Acysos S.L., Tecnativa, ACSONE SA/NV, GRAP, OCA |
| License | AGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Requires (Tulio core) | purchase_stock |
| Lines of code | 613 |
| Downloads | 0 |
| Released | 12/06/2026 |