Toggle navigation

Discount by quantities of product category

Alpha License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module will add a button inside the sale order and will compute the discount not by line but by quantities of the same product category, in the same sale order. e.g.: You’ve defined 10% discount for Category A for 100 PCE min in the List price.

You try to sell 50 Pieces of Product A and 50 Pieces of Product B (defined on Category A). The OnChange in the line will compute the price of the product as usual. Then you click on the new button. The unit price will be updated as you’ve sold 50+50 = 100 pieces of the same category! => you will have 10% discount on both lines !

This module was originally developed in v7.0 by the company Julius : https://github.com/julius-network-solutions/julius-openobject-addons/tree/master/pricelist_by_category_qty

Table of contents

Known issues / Roadmap

That module work as it but should be benefit of refactoring to work with good performance in “_get_quantity_to_compute()” with a real multi implementation

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

  • Julius Network Solutions

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/sale-workflow project on GitHub.

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