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

[14.0][FIX] rma: fix reserving not available quantity #564

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

Conversation

DavidJForgeFlow
Copy link
Contributor

Avoid reserving units that are not available. Also ensures the lot picked is the correct one by adding a dependency to stock_move_forced_lot.

Previously, if for example, you try to deliver a unit with a lot not available in you stock, the stock move line will be created and you will no longer able to cancel, delete or validate that picking.

@LoisRForgeFlow

@DavidJForgeFlow DavidJForgeFlow force-pushed the 14.0-fix-rma_reservations branch 2 times, most recently from 09b222c to 7e6749e Compare December 10, 2024 15:28
Avoid reserving units that are not available. Also ensures the lot picked is the correct one by adding a dependency to stock_move_forced_lot.
@DavidJForgeFlow DavidJForgeFlow force-pushed the 14.0-fix-rma_reservations branch from 7e6749e to 6854f01 Compare December 11, 2024 08:52
@AaronHForgeFlow
Copy link
Contributor

I am not sure about the new dependency. Is it a glue module too hard to be done?

@DavidJForgeFlow
Copy link
Contributor Author

I am not sure about the new dependency. Is it a glue module too hard to be done?

I think it should be added in the base version, as the way it is working now overrides reservations (leading to create some pickings that cannot be validated nor cancelled or deleted). The changes done by the dependency could be added to RMA but I don't think that makes sense.
Adding a glue module to fix an error of the base module I think is an error.

@AaronHForgeFlow
Copy link
Contributor

Ok. I don't like to add dependencies in stable version but I am afraid there is no "clean" alternative.

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