Purchase order lines with discountsby Odoo S.A., Acysos S.L., Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)
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.
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.
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.
- Original Odoo purchase module icon
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
Error when installing
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?