Skip to content

[15.0][FIX] project_stock: Filter valid stock moves (avoiding those done and cancelled) in action_done() to avoid side effects.#1163

Merged
OCA-git-bot merged 1 commit intoOCA:15.0from
Tecnativa:15.0-fix-project_stock-TT44572
Jul 27, 2023
Merged

[15.0][FIX] project_stock: Filter valid stock moves (avoiding those done and cancelled) in action_done() to avoid side effects.#1163
OCA-git-bot merged 1 commit intoOCA:15.0from
Tecnativa:15.0-fix-project_stock-TT44572

Conversation

@victoralmau
Copy link
Member

@victoralmau victoralmau commented Jul 26, 2023

Filter valid stock moves (avoiding those done and cancelled) in action_done() to avoid side effects.

Use case:

Please @pedrobaeza and @chienandalu can you review it?

@Tecnativa TT44572

…d cancelled) in action_done() to avoid side effects.

Use case:
- Product A with 1 qty
- Confirm materials
- Edit Product A line to 0 qty
- Transfer Materials
- New line: Product B with 1 qty
- Confirm materials
- Transfer Materials

TT44572
@pedrobaeza pedrobaeza added this to the 15.0 milestone Jul 26, 2023
@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 8ab96cb into OCA:15.0 Jul 27, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at aade0d2. 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