Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
108 Zobrazení

When a product’s stock quantity is 0, the POS user should not be able to sell it.

Currently, POS still allows selling items even if stock is zero or negative. We would like to block sales completely when the product is out of stock.

I have already enabled Inventory Availability in POS settings, which shows the available quantity, but it only gives a warning and does not stop the sale.

Since we are on Odoo Online, we cannot install custom modules or modify backend code.

Question:

  • Is there any standard feature or setting in Odoo 19 Online to completely prevent selling products with zero stock in POS?
  • If not, what would be the recommended approach for Odoo Online (without custom code)?
  • Or do we need to move to Odoo.sh / On-Premise for such a restriction?

Thanks in advance!

Avatar
Zrušit

If someone brings an Apple to a POS register they will probably laugh when you tell them you have no Apples. We allow this because if they have the item, clearly it is in stock, and you can sell it and fix the problem with your inventory later.

Nejlepší odpověď

Hi,


On Odoo Online (SaaS, Odoo 19), the standard POS settings allow you to show available stock in the POS and give a warning when stock is insufficient. However, there is no built-in option to completely block the sale of products when stock reaches zero. The “Inventory Availability” feature is informational and cannot enforce a hard stop in the POS.


Recommended approaches without custom code (Odoo Online):


    Use stock warnings in combination with training: POS users are shown the quantity and warned if stock is zero, and staff are instructed not to sell such products.


    Use “Available Quantity” filters: You can filter the POS product list to show only products with stock, but this does not prevent adding products to the order if done manually.


If a hard restriction is required:


    You would need customization in POS, which is only possible on Odoo.sh or Odoo On-Premise. On those platforms, a developer can extend the POS model to prevent adding products with zero or negative stock.


Related module:-

* https://apps.odoo.com/apps/modules/18.0/pos_zero_quantity_restrict

* https://odoo-community.org/shop/stock-disallow-negative-2467#attr=941918

* https://apps.odoo.com/apps/modules/18.0/stock_no_negative

https://apps.odoo.com/apps/modules/18.0/sale_stock_restrict


Hope it helps

Avatar
Zrušit
Nejlepší odpověď

Hello Sai Praveen,
Odoo 19 does not have a default feature like this. You need to customize it.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 25
1198
2
zář 25
1399
1
srp 25
1186
1
čvc 25
1459
3
čvc 25
5248