Skip to main content
Odoo Community Association

Purchase order lines with discounts

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

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.

https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_discount/static/description/product_supplierinfo_form.png
  • 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.

https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_discount/static/description/res_partner_company_form.png

Note: this setting is a new ‘company’ setting, unavailable for related partners, as accounting-related Settings.

https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_discount/static/description/res_partner_individual_form.png

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.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tiny

  • Acysos S.L.

  • Tecnativa

  • ACSONE SA/NV

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/purchase-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-purchase-discount 16.0.2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-purchase-discount 16.0.2.0.5
File Interpreter ABI Platform Actions
odoo_addon_purchase_discount-16.0.2.0.5-py3-none-any.whl Python 3 none any Details for odoo_addon_purchase_discount-16.0.2.0.5-py3-none-any.whl

Release files / odoo_addon_purchase_discount-16.0.2.0.5-py3-none-any.whl

Download URL odoo_addon_purchase_discount-16.0.2.0.5-py3-none-any.whl
Size 341.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bf5b4d9dec99d4b4ce5e8e8aae4b3261ffe3bc3669969fbfaa6c6182c69665a
BLAKE2b-256 checksum
How to use checksums
360b6ff7ca4fa5b107a781280ed6bf8f43a163d4a166e4acf769fa9ec37dbf75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for odoo-addon-purchase-discount 16.0.2.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

16.0.2.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page