POS Quantity Rules - POS Minimum Quantity, POS Multiple Quantity, POS Maximum Quantity, Minimum Order Amount, POS Lot Price
by Modvanta https://modvantaapps.tech/odoo-apps/pos-qty-rules/
Odoo
$ 8.97
In-App Purchases
POS minimum quantity, multiple quantity and maximum quantity per product, a minimum order amount, and a price per lot - enforced at the till and checked again by the server.
POS Minimum Quantity | POS Multiple Quantity | POS Maximum Quantity | POS Quantity Limit | Minimum Order Amount | POS Lot Price | Batch Price | Warn or Block | Works Offline
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo 19 lets the cashier sell any quantity of any product, and every lot at the same price. This module adds quantity rules per product, a minimum order amount per till, and a POS price per lot.
| Minimum quantity: the product is added at its minimum (6 cans), and the order cannot go below it. | |
| Sold in multiples: each tap adds one more multiple (6, 12, 18...) and the total must be a multiple. | |
| Maximum quantity: a limit per order, for example 2 bottles of hand sanitizer per customer. | |
| Correct in one click: before payment the till lists what breaks a rule and offers to correct the quantities (13 cans -> 18). | |
| Warn or block: Warn lets the cashier pay anyway; Block refuses the payment, and the server refuses such orders too. | |
| Minimum order amount: the payment screen only opens from the total you set per point of sale (taxes included). | |
| Price per lot: a lot with a POS Lot Price sets the price of the line as soon as it is chosen or scanned - the batch price printed on the pack. | |
| Refunds stay free: returns are never blocked by the rules. | |
| Offline: rules and lot prices are loaded with the session; the till checks them without a server call. |
Who it is for
CASH AND CARRY AND WHOLESALE COUNTERS Sell drinks by the case of 6 and paper by 5 reams minimum. | PHARMACIES AND FMCG Limit quantities per customer and charge the batch price of each lot. | TAKEAWAY AND DELIVERY SHOPS No order below the minimum basket. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Minimum quantity per product | No | Yes, added at the minimum |
| Sell in multiples (6, 12...) | No | Yes, one multiple per tap |
| Maximum quantity per order | No | Yes |
| Minimum order amount | No | Yes, per point of sale |
| Price per lot | No | Yes, POS Lot Price on the lot |
| Server check | - | Block mode refuses breaking orders |
Screenshots
Taken on a clean Odoo 19 database with this module installed.
1. Rules on the product
Minimum 6, multiples of 6, maximum 48, on the Point of Sale tab.

2. Added at the minimum
Cola added at 6 and 12, printer paper at its minimum of 5.

3. Correct before payment
13 cans is not a multiple of 6 and 3 sanitizers is above the maximum of 2: the till offers to correct both.

4. Minimum order amount
The payment screen does not open below the minimum.

5. Price per lot
Lot PX-2611-A is sold at its lot price of 2.20 instead of 2.50.

6. POS Lot Price
Set on the lot (or in the lots list).

7. Settings
Quantity rules mode, minimum order amount and price per lot, per point of sale.

How it works
| 1 | On the product, tab Point of Sale, set the minimum, the multiple and the maximum (0 = no rule). |
| 2 | In the Point of Sale settings choose Warn or Block, the minimum order amount and Price per Lot. |
| 3 | Optional: set a POS Lot Price on lots. |
| 4 | Sell: products start at their minimum, and the till checks the rules and the minimum amount before payment. |
Settings
| Quantity Rules: Off, Warn the cashier, or Block the payment (also refused by the server). | |
| Minimum Order Amount: 0 = no minimum. | |
| Price per Lot: use the POS Lot Price of lots on the till. |
FAQ
Is the maximum per line or per order?
Per order: all lines of the product are added together.
Can the cashier still type any quantity?
Yes; the check runs at payment, which lists the problems and corrects them in one click.
What does the server check?
In Block mode an order that breaks a rule or the minimum amount is refused when it is synced.
Do the rules apply to refunds?
No. Returns are never blocked.
Where does the lot price come from?
From the POS Lot Price field of the lot; 0 keeps the normal price and pricelists.
Compatibility
Odoo 19.0CommunityEnterpriseOdoo.shOn premise
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Module, tests, demo data |
| 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 | 357 |
| Technical Name |
mdv_pos_qty_rules |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/pos-qty-rules/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module