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

[FIX] shopfloor_reception: Ensure state assign of remaining move #882

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

Conversation

mt-software-de
Copy link
Contributor

@mt-software-de mt-software-de commented Apr 3, 2024

If there is not all processed for one move, we have to ensure that the state of the remaining move is still assigned.
Otherwise the last remaining qty of this move will be not split into a own transfer.

return selected_line.move_id.extract_and_action_done()

moves = self.filtered(lambda m: m.state == "assigned")

cc @jbaudoux @TDu @mmequignon

@OCA-git-bot
Copy link
Contributor

Hi @JuMiSanAr, @mmequignon,
some modules you are maintaining are being modified, check this out!

@mt-software-de
Copy link
Contributor Author

@TDu @mmequignon @jbaudoux
why did we choose to call the recompute_state?
I think that's not necessary since we calling action_assign immediately afterwards.

new_move._action_assign()

@mt-software-de mt-software-de changed the title [FIX] shopfloor_reception: Ensure state assign of remainig move [FIX] shopfloor_reception: Ensure state assign of remaining move Apr 4, 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.

None yet

2 participants