Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License: AGPL-3

Quotations in quantity available to promise

This module computes the quoted quantity of each Product, and subtracts it from the quantity available to promise.

“Quoted” is defined as the sum of the quantities of this Product in Sale Quotations, taking the context’s shop or warehouse into account.

Usage

Warning for salespersons

If you want to keep salespersons from concluding sales that you may not be able to deliver, you may block the quotations using the module sale_exceptions . Once this module is installed, go to “Sales > Configuration > Sales > Exceptions rules” and create a new rule using the following code:

if line.product_id and line.product_id.type == 'product' and line.product_id.immediately_usable_qty > line.product_uom_qty:
    failed=True
Try me on Runbot

Known issues / Roadmap

Changed features

The quoted quantity is now returned as a positive value, whereas it was returned as a negative value before v8.0. This change was made to ensure consistency with the standard, which used to present outgoing quantities as negative numbers until v8.0, and now presents them as positive numbers instead.

Removed features

Previous versions of this module used to let programmers demand to get the quoted quantity in an arbitrary Unit of Measure using the context. This feature was present in the standard computations too until v8.0, but it has been dropped from the standard from v8.0 on. For the sake of consistency the quoted quantity is now always reported in the product’s main Unit of Measure too.

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 smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Maintainer

Odoo Community Association

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.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo8-addon-stock-available-sale 8.0.3.0.0.99.dev24

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 odoo8-addon-stock-available-sale 8.0.3.0.0.99.dev24
File Interpreter ABI Platform Actions
odoo8_addon_stock_available_sale-8.0.3.0.0.99.dev24-py2-none-any.whl Python 2 none any Details for odoo8_addon_stock_available_sale-8.0.3.0.0.99.dev24-py2-none-any.whl

Release files / odoo8_addon_stock_available_sale-8.0.3.0.0.99.dev24-py2-none-any.whl

Download URL odoo8_addon_stock_available_sale-8.0.3.0.0.99.dev24-py2-none-any.whl
Size 46.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3a65452f966d2ecf4c862656303b52922f251672684cabf6a395c450c0c7f053
BLAKE2b-256 checksum
How to use checksums
b1b63145d72a36a176d11ff68ac416344a45c0b388fe3f487f89533e30787f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Security for odoo8-addon-stock-available-sale 8.0.3.0.0.99.dev24

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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