Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] purchase_stock_price_unit_sync: Avoid errors with cancelled stock moves #2464

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

CarlosRoca13
Copy link
Contributor

When the price of a line is changed, and it does not have any associated stock.move completed but does have stock.moves in a different state, this will result in no SVLs being found. Consequently, attempting to write to the empty recordset is causing issues.

FW-PORT of #2463

cc @Tecnativa TT51861

ping @pedrobaeza @carlosdauden

…ck moves

When the price of a line is changed, and it does not have any associated
stock.move completed but does have stock.moves in a different state,
this will result in no SVLs being found. Consequently, attempting to
write to the empty recordset is causing issues.
@pedrobaeza pedrobaeza added this to the 16.0 milestone Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants