Delivery carrier max quantity
This module adds the option to set the maximum quantity that a carrier can accept. When the total quantity of a sale reaches the limit, the carrier is not available for selection.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you set a maximum order quantity on each delivery carrier, so that carrier is automatically hidden when the total quantity of the order goes over that limit.
This module adds a quantity limit to delivery carriers. On the delivery carrier form (the same screen where you configure shipping methods), a new numeric field appears just before the tag requirement field, where you can enter the maximum total quantity the carrier accepts.
When a sales order, cart or quotation is being processed, Odoo checks the total quantity of all order lines against that limit. If the order quantity is greater than the carrier's maximum, the carrier is no longer offered as a shipping option. If the limit is left empty or set to zero, the carrier stays available with no quantity restriction.
The check is combined with the carrier's existing availability rules, so a carrier must satisfy both its normal conditions and the quantity limit to be selectable. The module only touches the delivery carrier configuration and the carrier selection logic; it does not create new menus or reports.
Depends on
Models and fields (1)
- delivery.carrier · extends an existing modelmax_quantity
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/delivery-carrier.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Go to any delivery carrier and set the
max_quantityfield. - Create a sale order with products that reach the maximum quantity.
- Try to select a carrier; this carrier is not available
No verified information in OCA: Installation, Configuration.
Installation 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.