OdooWiki OCA HUB

Sale Procurement Amendment

sale_procurement_amendment folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

In Odoo, when you confirm a Sale Order, you can increase the quantities in sale lines. This is reflected in Pickings. But, if you decrease the quantities, you have to do this manually even if nothing has been done in any picking.

This allows to reflect confirmed sale lines quantities amendments to procurements (and pickings) if nothing has been already begun in stock.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

When you reduce quantities on a confirmed sale order line, this module automatically updates the related stock moves and pickings, as long as no warehouse work has started yet.

In standard Odoo, increasing quantities on a confirmed sale order updates the delivery, but decreasing them does not. This module fixes that for lines where nothing has been processed yet.

On each sale order line it adds three indicators: whether the line still needs to be procured, whether any related picking is already in progress, and whether the line can be amended and reprocured. A line can be amended only if no picking is in progress and the product is not a service.

When you lower the quantity on a confirmed sale order line, the module cancels the related stock moves and re-runs the stock rules so the delivery reflects the new quantity. It does this automatically on save.

It also adds a 'can be amended' flag on stock moves and pickings. A move can be amended only while it is waiting, confirmed, partially available or assigned, and no quantity has been done on its operations. A picking can be amended only if all its non-cancelled moves can be amended.

This affects sale order lines, stock moves and stock pickings. There are no new menus or screens; the behaviour is automatic and the flags are technical.

Depends on

Models and fields (3)
  • stock.move · extends an existing modelcan_be_amended
  • stock.picking · extends an existing modelcan_be_amended
  • sale.order.line · extends an existing modelto_be_procured, pickings_in_progress, can_amend_and_reprocure

Text generated by AI (DeepSeek) from reading the Odoo 14.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 13.0

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

terminal Installation and usage

OCA documentation · Odoo 14.0
  • Just install the module

To use this module, you need to:

  • Create a Sale Order with at least one product and confirm it
  • Don't modify any picking
  • Decrease the product quantity in Sale Order and save
  • The quantities in pickings are changed

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.