Skip to Content
POS Restrict Zero Quantity
bi_pos_restrict_zero_qty

POS Restrict Zero Quantity

Blocks POS sales of products with zero or negative stock.

  • Odoo 16
  • Point of Sale
  • 16.0.0.1
1

Overview

Selling items that are not in stock causes negative inventory and unhappy customers. This module checks product quantities when the cashier presses Pay and refuses the sale if stock is zero or below. It adds one option to the POS configuration and plugs into Point of Sale and Inventory quantities. Shop managers keep stock figures accurate.

2

Usage steps

  1. 1

    Enable the restriction

    In the POS configuration the manager ticks Restrict Zero Quantity. The setting is also available in Settings.

    • Field: Restrict Zero Quantity
    • Per POS
  2. 2

    Sell as usual

    The cashier adds products to the order. The module reads each product stock quantity from the POS data.

    • Uses on-hand quantity
    • Applies to storable products
  3. 3

    Pay is intercepted

    On Pay the patched _onClickPay checks the lines. If any product has zero or negative stock the restriction flag is raised.

    • Check before payment
    • Compares quantity with the order
  4. 4

    Sale denied

    A popup titled Zero Quantity Not allowed or Deny Order names the product and stops the payment. The cashier removes the item or adjusts stock.

    • Popup with product name
    • Payment blocked
    • Fix stock in Inventory
4

Roles

Benefiting roles
Role
POS cashier
POS manager
5

Dependencies

Back to version applications

Want to know more or try this app? Contact us

We can arrange a demo or a trial and answer your questions about POS Restrict Zero Quantity.

Contact us