TIP: You can type at any time to perform a new search.
Sale Order Line Cancel Sale Stock
sale_order_line_cancel_sale_stock · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.1.1
- Category
- Sales
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA), BCIM, Okia, MT Software
- Maintainers
- Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA), BCIM, Okia, MT Software
- Committers
- Michael Tietz, Weblate, OCA-git-bot, oca-ci, David Gallay
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module cancels only the stock moves for the remaining qty to deliver. Also it will track the canceled qty if a order line's stock move is canceled but only if there are not other started operations for this sale order line. When the base addon is configured to also decrease the original ordered qty it ensures that there are now new moves created. Because by default, odoo will recompute the required stock operations if the ordered qty is changed. By canceling the operations for the remaining qty before the ordered qty is changed, odoo will not recompute the required stock operations, because the qty done by moves is the same as the ordered qty. > [!WARNING] > It's not recommended to use this module if the update of the quantity > ordered on the sale order line is allowed the confirmed state. This > could lead to unpredictable behavior.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
cancel_remaining_qty(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 27 days ago
- Last activity
- 27 days ago
- Repository
- OCA/sale-workflow
- Pull request
- [19.0] [MIG] sale_order_line_cancel_sale_stock : Migration to 19.0 (#4495)