-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
[10.0][ADD]stock_picking_auto_revert #593
[10.0][ADD]stock_picking_auto_revert #593
Conversation
90cf0c7
to
6b9406a
Compare
@AaronHForgeFlow As I can read, the idea behind code is quite the same as in stock_cancel. Why not refactoring that one to avoid confusion (as there is already another one 'stock_picking_back2draft) ? We could in that case upgrade module major version. @scigghia @eLBati @pedrobaeza @yvaucher @alexis-via @rschnapka |
Well, if that's the case, then better to avoid modules with duplicated features. |
Actually, the features are not duplicated.
Now the question, is, should we add the features to the existing module instead of putting them in a separate module? I feel like some companies may want the ability to set to draft pickings that are ready but not to do quick returns of the ones that are done. I would let the two modules separated. Would that be fine? |
@AaronHForgeFlow For the duplicate features here in particular, I spoke about stock_cancel. I mentioned the other modules in order to take care of duplicates in terms of understanding from end user. So, could you think about improving code of stock_cancel ? |
@rousseldenis The thing is, I can propose an amendment to However, I find impossible to make stock_cancel to work in newer versions. As there is not link between the move and the quant I find Another option would be to do the amendment for Would that work? |
stock_cancel is not yet migrated in v11/12, so IMHO you can change behaviour of stock_cancel in v10 and then let migration process 'FLOW' 😄 |
😄 it is fine for this version, but |
Ok. Created the fix for stock_cancel here #594 Closing this, but brace yourself, coming soon in newer versions 😀 |
This module adds a button on pickings to revert a done picking. Basically, it will return all the done quantities, same as return wizard. And then it will duplicate the original picking.
Why to do this? Well, people make mistakes, a lot. And then fixing manually the picking is quite confusing and time consuming.
stock_cancel
module is not good, because several reasons:When to use this module:
cc @ForgeFlow