Skip to content

[FW][FIX] mrp: split call to write on stock move#70975

Closed
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-14.0-reservation-sync-mrp-whe-s8EB-fw
Closed

[FW][FIX] mrp: split call to write on stock move#70975
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-14.0-reservation-sync-mrp-whe-s8EB-fw

Conversation

@fw-bot
Copy link
Copy Markdown
Contributor

@fw-bot fw-bot commented May 18, 2021

You can, in a production order, change the quantity done of a stock move
raw and change its initial demand ('To Consume' field) in the same
transaction. This can lead to some issue as changing the quantity done
will update the stock move line and changing the initial demand will
unreserve the stock move thus impacting the stock move lines too.

This commit will split the values to update of a stock in move in case
the two fields have to be updated. First the stock move lines, then the
initial demand.

opw : 2451298

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #70949
Forward-Port-Of: #69377

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

14.4 forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants