This module forbids adding empty order lines on POS orders.
When clicking on the "Payment" button in the Point of Sale, a popup is shown if product quantity for one or more order lines is set to 0.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds a setting to require that every product line in a Point of Sale order has a quantity greater than zero. If any line has quantity 0, a popup blocks payment until it is fixed.
This module adds a new option in the Point of Sale settings called "Require Product Quantity". When enabled, it prevents cashiers from paying an order that contains one or more product lines with a quantity of 0.
- The setting is available in the Point of Sale configuration screen, under the product prices section. It is turned on by default for each point of sale.
- When a cashier clicks the "Payment" button, the system checks all order lines. If any line has quantity 0, a popup appears titled "Missing quantities" listing the products with no quantity.
- The payment process stops until the cashier corrects the quantities or removes the empty lines.
- The module affects the
pos.configmodel by adding therequire_product_quantityfield, and theres.config.settingsmodel to expose that setting in the configuration screen. - It also modifies the Point of Sale product screen behaviour to perform the check before proceeding to payment.
This helps avoid mistakes such as charging a customer for a product that was accidentally left at zero quantity.
Depends on
Models and fields (2)
- pos.config · extends an existing modelrequire_product_quantity (Require product quantity in POS)
- res.config.settings · extends an existing modelpos_require_product_quantity
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/pos.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.