Add semaphore for advanced commissions rules
Project description
Sale Commission Product Criteria Semaphore
This module extends sale_commission_product_criteria so commission rules can also be filtered by semaphore status.
With it, you can keep the usual product/category-based rules and add more specific percentages for lines marked as green, yellow or red in sale_semaphore. Generic rules without semaphore remain valid as a fallback.
Table of contents
Usage
To use this module:
Install sale_commission_product_criteria_semaphore together with its dependencies.
Go to Commissions > Configuration > Commission types and open or create a commission of type Product criteria.
Add commission items as usual and optionally set a Semaphore value on each line:
empty semaphore: fallback rule that applies to any line.
🟢 success: applies only to green lines.
🟡 warning: applies only to yellow lines.
🔴 danger: applies only to red lines.
When commissions are generated, the module evaluates both the product criteria and the semaphore of the source line.
Settlement lines keep the semaphore value, and the settlement report shows totals grouped by semaphore color.
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
Contributors
-
Carlos Dauden
Carlos Roca
Maintainers
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.
Current maintainer:
This module is part of the OCA/commission project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_sale_commission_oca_product_criteria_semaphore-18.0.1.0.0.4-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_sale_commission_oca_product_criteria_semaphore-18.0.1.0.0.4-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b061cf71ab567415839ba5f9e97d477d5dad2ec800045531929e61b29f63f77
|
|
| MD5 |
268fa5619e206de340599db882379250
|
|
| BLAKE2b-256 |
cd6c0c7f3c5ce7aa6c6f2b30f1052003e4717d5638e6c2a7619f6aeb1911edeb
|