Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
96 มุมมอง

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!

อวตาร
ละทิ้ง

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.

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 25
1194
Slow product loading times POS 18 ODOO แก้ไขแล้ว
2
ก.ย. 25
1399
1
ส.ค. 25
1186
1
ก.ค. 25
1459
3
ก.ค. 25
5245