OdooWiki OCA HUB

Sale Stock Reservation Issue on Qty at Date widget

sale_stock_reservation_issue_on_qty_at_date_widget folder_open OCA/sale-workflow open_in_new
Sales License: LGPL-3

This module extends the functionality of Qty at Date Widget changing the color of the widget icon to yellow (warning color) when you are going to sell more quantities than Free Quantity Today.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Warns sales users when confirming a quotation or sales order would cause a stock reservation problem, by turning the quantity-at-date icon yellow and highlighting the free quantity today in the popover.

This module changes how the quantity-at-date widget behaves on sales orders and quotations. When an order is still in draft or sent status, the widget checks whether the quantity you plan to deliver is greater than the free quantity available today. If so, it marks a reservation issue.

Where you see it: - On the sales order and quotation lines, the small chart icon next to the quantity-at-date field turns yellow when a reservation issue is detected. - When you open the popover behind that icon, the free quantity today is shown in yellow if there is a reservation issue, or in red if the order will not be fulfilled at all.

Business rule added: - The warning only appears for orders in draft or sent state, so it helps you catch problems before confirming. - It compares the free quantity today with the quantity to deliver; if free quantity is lower, the warning is shown.

This module does not create new menus, models, or reports. It only extends the existing quantity-at-date widget from the sale_stock module, so it works inside the standard Sales screens.

Depends on

sale_stock

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

In order to use this module, you need to install the next module:

  • sale_management

Example of use:

  • Create an Storable product and update available quantity for 20 units.
  • Create a new Sale and select the product you've created previously.
  • Sell an order for tomorrow for 10 units. Ensure picking is reserved.
  • Create an order for tomorrow for 20 units.
  • Check the Qty At Date icon is in yellow (warning color) because you are going to sell 10 units that are reserved for another order.

No verified information in OCA: Configuration.

info

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.