v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 10909
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase Management (purchase)
Inventory Management (stock)
Discuss (mail)
Lines of code 149
Technical Name purchase_discount
LicenseAGPL-3
Versions 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase Management (purchase)
Inventory Management (stock)
Discuss (mail)
Lines of code 149
Technical Name purchase_discount
LicenseAGPL-3
Versions 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0

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

  • Original Odoo purchase module icon
  • https://openclipart.org/detail/159937/clothing-label-with-rope

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Error when installing
by
Víctor Genero Otaño
on 3/29/19, 4:40 PM

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?


There are no comments yet!