Skip to content
Snippets Groups Projects
Commit ad1d71c2 authored by Nicolas Pierre's avatar Nicolas Pierre Committed by Touati Djamel (otd)
Browse files

[FIX] mrp,stock: use correct qty to backorder in MO simplified view

The problem arises when a user creates a backorder for a MO after
registering overconsumption of some components through the simplified view.
The quantities of the components of the new backordered MO are then wrong.
Components that were over consumed in the first MO will have smaller
quantities in the new MO, the difference being the amount over consumed.
This problem does not appear in the case of the Tablet View where a proper
recalculation of quantities is done.

backport of: https://github.com/odoo/odoo/commit/8883c06ada8a7c1debabce39e8f7fea321c70b23

Related PR: https://github.com/odoo/enterprise/pull/31119

opw-2957834

Part-of: odoo/odoo#99739
parent 1302bcea
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment