Skip to main content
Odoo Community Association

Sale Commission Product Criteria Semaphore

Beta License: AGPL-3 OCA/commission Translate me on Weblate Try me on Runboat

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:

  1. Install sale_commission_product_criteria_semaphore together with its dependencies.

  2. Go to Commissions > Configuration > Commission types and open or create a commission of type Product criteria.

  3. 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.

  4. When commissions are generated, the module evaluates both the product criteria and the semaphore of the source line.

  5. 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

Authors

  • Tecnativa

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.

Current maintainer:

CarlosRoca13

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.

Release files for odoo-addon-sale-commission-oca-product-criteria-semaphore 18.0.1.0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-commission-oca-product-criteria-semaphore 18.0.1.0.0.5
File Interpreter ABI Platform
odoo_addon_sale_commission_oca_product_criteria_semaphore-18.0.1.0.0.5-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_commission_oca_product_criteria_semaphore-18.0.1.0.0.5-py3-none-any.whl

Download URL odoo_addon_sale_commission_oca_product_criteria_semaphore-18.0.1.0.0.5-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe6c15ec3c0a5c8450df2ebbe23257f3a0002f3cd6c7acb240beb7f86eabc4d0
BLAKE2b-256 checksum
How to use checksums
8d90bebf505c749a3b89161c920477897a438c6adf582752e1afa62d3744a355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.0.5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page