Skip to Content
Menu

Display Stock in POS | Restrict Out-of-Stock Products in POS

by
Odoo
v 17.0 Third Party 2185
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Point of Sale (point_of_sale)
Discuss (mail)
Inventory (stock)
Invoicing (account)
Lines of code 246
Technical Name pos_restrict_product_stock
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Point of Sale (point_of_sale)
Discuss (mail)
Inventory (stock)
Invoicing (account)
Lines of code 246
Technical Name pos_restrict_product_stock
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 15.0 16.0 17.0
Community
Enterprise
Odoo.sh

Display Stock in POS | Restrict Out-of-Stock Products in POS

Restrict Out of Stock Product from PoS session and Display the Stock

Key Highlights

Product availablity can be viewed in Pos

This module enhances your Point of Sale by providing real-time visibility into product availability, displaying both the on-hand quantity and virtual quantity.

Restrict selling unavailable product

It empowers you to optimize your ordering process by seamlessly restricting the selection of out-of-stock products within the POS system.

Go to PoS Settings -> Enable Display Stock in POS and select which type of quantity you have to be visible in session. If you want to restrict out of stock products from ordering based on the quantity type you selected.

If the selected type is "on hand" ,then on hand quantity can be visible in left-top of product item.

If the quantity of the product is zero then it visible in different color.If you try to order out of stock product an error popup will render, still you want to order the product then click order button.

The out-of-stock product is added to orderline.

If you selected the "virtual quantity" for displaying it will display right-top of each product item and its out of stock products in different color.

Or If you select "both" to display then it visible both type of quantity.

  • Display both on-hand quantity and Virtual quantity of every product.
  • Restrict out of stock products from ordering them.
  • We can choose which type of (on-hand and virtual) quantity you have to be visible in POS.
  • We can also specify which type of (on-hand and virtual) quantity you have to restrict if the product is out of stock.
Version 17.0.2.1.2|Released on:28th November 2023

Initial Commit for Display Stock in POS | Restrict Out-of-Stock Products in POS.

Related Products

Our Services

service-icon

Odoo Customization

service-icon

Odoo Implementation

service-icon

Odoo Support

service-icon

Hire Odoo Developer

service-icon

Odoo Integration

service-icon

Odoo Migration

service-icon

Odoo Consultancy

service-icon

Odoo Implementation

service-icon

Odoo Licensing Consultancy

Our Industries

Trading

Easily procure and sell your products

POS

Easy configuration and convivial experience

Education

A platform for educational management

Manufacturing

Plan, track and schedule your operations

E-commerce & Website

Mobile friendly, awe-inspiring product pages

Service Management

Keep track of services and invoice

Restaurant

Run your bar or restaurant methodically

Hotel Management

An all-inclusive hotel management application

Support

Need Help?

Got questions or need help? Get in touch.

odoo@cybrosys.com
WhatsApp

Say hi to us on WhatsApp!

+91 99456767686

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
negative stock is not restricted
by
JANISH BABU EK
on 6/4/25, 9:07 AM

This module has a big Bug.

Here we only check the line-based condition of the order line. If the same product is in more than one line, we can sell our out of negative stock.


example:

product 1 stock : 5


pos orderline :

line one product 1 : 4
line two product 1 : 3

this condition negative stock not restricted.


module not working while using barcode scanner
by
sanjay
on 10/26/24, 4:26 AM

Yes you are right error is linked to different module but for this
while i am adding any product using barcode scanner it will added without any popup

Re: module not working while using barcode scanner
by
Cybrosys Technologies
on 11/4/24, 5:24 AM Author

We have updated the app. Thanks for reporting. Please get the latest version.


by
sanjay
on 10/16/24, 10:17 AM


The module is not functioning in Odoo v17. Please see the traceback below while attempting to enable negative stock.


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/home/odoo/src/odoo/odoo/http.py", line 1783, in _serve_db

    return service_model.retrying(self._serve_ir_http, self.env)

  File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying

    result = func()

  File "/home/odoo/src/odoo/odoo/http.py", line 1810, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

  File "/home/odoo/src/odoo/odoo/http.py", line 2014, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

  File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 235, in _dispatch

    response = super()._dispatch(endpoint)

  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch

    result = endpoint(**request.params)

  File "/home/odoo/src/odoo/odoo/http.py", line 759, in route_wrapper

    result = endpoint(self, *args, **params_ok)

  File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 24, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/home/odoo/src/odoo/addons/web/models/models.py", line 73, in web_save

    self = self.create(vals)

  File "<decorator-gen-319>", line 2, in create

  File "/home/odoo/src/odoo/odoo/api.py", line 414, in _model_create_multi

    return create(self, [arg])

  File "/home/odoo/src/odoo/addons/point_of_sale/models/res_config_settings.py", line 153, in create

    pos_config.with_context(from_settings_view=True).write(pos_fields_vals)

  File "/home/odoo/src/odoo/addons/point_of_sale/models/pos_config.py", line 446, in write

    vals = self._keep_new_vals(vals)

  File "/home/odoo/src/odoo/addons/point_of_sale/models/pos_config.py", line 502, in _keep_new_vals

    cache_value = config_field.convert_to_cache(val, self)

  File "/home/odoo/src/odoo/odoo/fields.py", line 2838, in convert_to_cache

    raise ValueError("Wrong value for %s: %r" % (self, value))

ValueError: Wrong value for pos.config.stock_type: 'onhand'


The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    RPC_ERROR

        at makeErrorFromResponse (https://vasaindica-staging-15755174.dev.odoo.com/web/assets/ac1efbd/web.assets_web.min.js:2893:163)

        at XMLHttpRequest.<anonymous> (https://vasaindica-staging-15755174.dev.odoo.com/web/assets/ac1efbd/web.assets_web.min.js:2897:13)

Re:
by
Cybrosys Technologies
on 10/25/24, 7:10 AM Author

We have checked the module and were unable to reproduce the issue you mentioned. It may be helpful to consider that there could be a conflict with other third-party modules. Do you have any along with this addon? Please write to us at odoo@cybrosys.com. 


Problem module V 16 comunnity
by
Jaime Andres Castañeda
on 7/15/24, 3:58 PM

I have tested the module and found that when a sale is made from the point of sale module, the quantities are not updated in real time nor is the stock availability updated when completing the sale and returning to the customer's view to take orders."


by
samah kandil
on 6/3/24, 5:01 AM

I try this module and not working


by
samah kandil
on 6/3/24, 5:00 AM

I try this module and it not working


by
samah kandil
on 6/3/24, 5:00 AM

I try this module and it not working