Skip to main content

Discount by quantities of product category

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_pricelist_by_category_qty-12.0.1.0.0.99.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_pricelist_by_category_qty-12.0.1.0.0.99.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5a490922078151c04880ec99e69762bc620b257f7c22ea5361d537d14ae1f3
MD5 2d8e013f25fb0276cb63ff6ddd5c866a
BLAKE2b-256 d82d8bd26e2899c06cd79d1c6d4af86c96f812aaf273e8b9bc78ae429c4d7444

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page