OdooWiki OCA HUB

Purchase Date Planned Manual

purchase_date_planned_manual folder_open OCA/purchase-workflow open_in_new
Purchase Management License: AGPL-3

This module makes the system to always respect the planned (or scheduled) date set by the user when creating a Purchase Order.

Additionally, this module modifies the PO views and sets in red the lines that are predicted to arrive late compared to the scheduled date and vendor lead time.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Keeps the scheduled date you enter on purchase order lines instead of letting Odoo recalculate it, and warns you when a line is expected to arrive after that date.

When you create a purchase order, the scheduled date you type on each line is kept as you entered it; Odoo no longer overwrites it with a date calculated from the vendor lead time.

On the purchase order form, lines that are predicted to arrive later than the scheduled date are shown in red and get a warning triangle button. The prediction compares the scheduled date with the order date plus the vendor lead time and the company's purchase lead time. The warning only appears while the order is still in draft.

Clicking the warning button shows a message telling you the date the line is scheduled for and that it is now planned to arrive late.

Behind the scenes, the module also makes sure that stock procurements with different planned dates are not merged into the same purchase order line, so each scheduled date stays separate.

It affects purchase order lines and the stock rule used to generate purchases from reordering or sales needs.

Depends on

purchase_stock
Models and fields (2)
  • stock.rule · extends an existing model
  • purchase.order.line · extends an existing modelpredicted_arrival_late (Planned to be late)

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

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

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module you could follow any of the two options below:

  • Go to 'Purchase' and create a purchase order.
  • Manually set the scheduled date in the PO lines.
  • This date will never be modified by the system and the lines that are expected to be late are highlighted in red.

Or:

  • Create a procurement order for a product that can be bought and have the route 'buy' activated.
  • Run the procurement.
  • Now the scheduled date in the procurement is respected even if the line is added to a previously existing PO.

No verified information in OCA: Installation, 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.