Skip to main content

Restrict confirmation of sales orders below a configured minimum total amount

Project description

Odoo Community Association

Sale Order Minimum Amount

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

This module restricts sales order confirmation below a configured minimum amount for sales users, with sales managers exempt from this rule.

Table of contents

Configuration

To configure the minimum allowed amount for confirming sales orders:

  1. Go to Sales > Configuration > Settings

  2. Find the field Minimum Allowed Sales Order Amount

  3. Enter the desired minimum amount (e.g., 100.00)

  4. Click Save to apply the changes

  5. Ensure the user has the Salesperson (Normal User) role: - Go to Settings > Users - Open the user form - In the Sales section, ensure the access level is set to Salesperson

Usage

To use this module, you need to:

  1. Create a new Sale Order

  2. Add products to the order

  3. If the Total Amount is less than the configured Minimum Allowed Sales Order Amount:

    • A regular sales user cannot confirm the order

    • A UserError is raised:

      “Only sale orders over X.XX can be confirmed.”

  4. If the user belongs to the Sales Manager group: - The order can be confirmed, even if it’s below the threshold

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

  • BizzAppDev Systems Pvt. Ltd.

Contributors

Other credits

The development of this module has been financially supported by:

  • Agent ERP GmbH

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_sale_order_minimum_amount-16.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_sale_order_minimum_amount-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c3e8607d898704b44047683796fff812d262aa9cbf9847d146d2161a2dd9f1
MD5 0cc44019458b3dd56cd803519dcd2cc3
BLAKE2b-256 c7d8569984ce967e2e870d3b1e87e75b588e85efbdc63756f816636651a6c498

See more details on using hashes here.

Supported by

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