Purchase order lines with discounts

by , , , ,
Odoo 1
v 11.0 Third Party 5028
Download for 11.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name purchase_discount
LicenseAGPL-3
Read description for v 10.0 v 9.0 v 8.0 v 7.0 v 6.1 v 6.0
Required Apps Purchase Management (purchase)
Inventory Management (stock)
Invoicing (account)
Technical name purchase_discount
LicenseAGPL-3
Read description for v 10.0 v 9.0 v 8.0 v 7.0 v 6.1 v 6.0
Required Apps Purchase Management (purchase)
Inventory Management (stock)
Invoicing (account)
License AGPL-3

Discount in purchase orders

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.

Usage

Try me on Runbot

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 smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Icon

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.
Odoo
Error when installing
by on

ProgrammingError: column l.discount does not exist LINE 33: sum((1.0 - COALESCE(l.discount, 0.0) / 100.0) * l.price_... Is there any fix? Am I doing something wrong?