Skip to content

[15.0][IMP] purchase_stock_price_unit_sync: Avoid errors with cancelled stock moves#2463

Merged
OCA-git-bot merged 1 commit intoOCA:15.0from
Tecnativa:15.0-IMP-purchase_stock_price_unit_sync
Nov 22, 2024
Merged

[15.0][IMP] purchase_stock_price_unit_sync: Avoid errors with cancelled stock moves#2463
OCA-git-bot merged 1 commit intoOCA:15.0from
Tecnativa:15.0-IMP-purchase_stock_price_unit_sync

Conversation

@CarlosRoca13
Copy link
Copy Markdown
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.

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 changed the title [IMP] purchase_stock_price_unit_sync: Avoid errors with cancelled stock moves [15.0][IMP] purchase_stock_price_unit_sync: Avoid errors with cancelled stock moves Nov 22, 2024
@pedrobaeza pedrobaeza added this to the 15.0 milestone Nov 22, 2024
@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-2463-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 943faf3 into OCA:15.0 Nov 22, 2024
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 79bfc44. Thanks a lot for contributing to OCA. ❤️

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants