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] assign_picking method when stock move is done #238

Conversation

chafique-delli
Copy link
Member

When trying to confirm an RFQ, we have an Odoo error message.

In fact, in the assign_picking method of stock.move, it tries to delete the pickings even if they are done .

for picking in candidates_for_empty_picking:
if not picking.move_lines:
picking.unlink()

@chafique-delli chafique-delli merged commit 9261129 into 10-mrp_subcontract_location_wip May 31, 2022
@chafique-delli chafique-delli deleted the 10-fix-mrp_subcontract_location branch May 31, 2022 14:43
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.

1 participant