Skip to main content

Compute the state of a product's stockthe stock level and sale_ok field

Project description

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runbot

This module adds a “stock state” field on the product in order to inform the user of its general stock state at a glance.

The state value can be :

  • In Stock

  • In Limited Stock (if qty available is under a threshold)

  • Resupplying (if qty forcasted is > 0)

  • Out of Stock (otherwise)

Table of contents


You can configure thresholds :

  • Globally, for a company, in the Sale Settings. It will be used for all the products of the company.

  • On product category form. It will be used for all the products of this category, or of the child categories. (User should be part of the new group ‘Stock State Threshold by Category’.)

  • On product template form, for a specific product. (User should be part of the new group ‘Stock State Threshold by Product’.)


Open product tree view and observe the stock state

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.

Do not contact contributors directly about support or help with technical issues.



  • Akretion

  • GRAP


Other credits

The development of this module has been financially supported by:


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 maintainers:

sebastienbeau legalsylvain kevinkhao

This module is part of the OCA/product-attribute project on GitHub.

You are welcome to contribute. To learn how please visit

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

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