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] mrp_subcontracting: if picking type is empty, no picking as to be created at PO confirmation #1395

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

Conversation

jbaudoux
Copy link
Contributor

When the picking type is empty, it raises an exception as it tries to create a picking without picking type and this field is a required in a picking.

In my scenario, all raw materials are provided directly at the subcontractor and the finished product is send trough transit operation to next subcontractor or though delivery order to end-customer.
There is no main warehouse and so no picking in/out to the main warehouse. All is manufactured though several subcontractors.
The MO generates a PO to the subcontractor with a service line (cost of the manufacturing)
This scenario works properly with provided odoomrp modules except PO cannot be confirmed without this fix.

@jbaudoux jbaudoux changed the title [FIX] if picking type is empty, no picking as to be created [FIX] mrp_subcontracting: if picking type is empty, no picking as to be created at PO confirmation Oct 11, 2017
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