-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
NEW shipment kits with dispatcher v2 #27570
base: develop
Are you sure you want to change the base?
NEW shipment kits with dispatcher v2 #27570
Conversation
@eldy |
Incdec is used to know if we must change stock inside the virtual product. |
26385a2
to
e16daf4
Compare
@eldy |
…ition-kits-with-dispatcher2
…ate when creating a shipment
@fappels
|
Hi @lvessiller-opendsi
Let me know if you need more information and again Many Thanks for the huge effort. |
Hi @lvessiller-opendsi and @eldy |
Thanks for your remarks, maybe there still exist a lack as you commented :
|
…ition-kits-with-dispatcher2
@josett225
There is no stock movement for virtual products (kits). |
…ition-kits-with-dispatcher2
…ition-kits-with-dispatcher2
…ition-kits-with-dispatcher2
@eldy |
It still exists a problem with virtual products in TakePos module. I will check it before |
3 points: Second point is that this change will have a very high number of trouble, whatever is the quantity of test, it will have a lot of side effect that will need a very long time ti be stable again (compatibility with lot, variant module, bom and mo, xternal modules...). I am even not sure it can be stable one day as there is some situation that i am not sure we will be able to define a clear business rule that can works for everybody. For this reason any code related to this must be isolated into a if of a hidden feature and old code must remain unchanged. Before trying to introduce such a change, i think we must also first make the existing feature related to kits more stable. Also can you describe the goal of the feature (the use case). Which trouble or feature do you want to address ? The screenshot show how it will work but not what we want to solve. Is it to allow sub kits ? |
This is linked with this PR.
In develop, you can't choose a warehouse to decrement components of virtual product.
This PR is compatible with kit inside a kit. I tried with 3 levels of depth.
Yes it allows sub kits. I will see how to describe the use case. |
…ition-kits-with-dispatcher2
…ition-kits-with-dispatcher2
…ition-kits-with-dispatcher2
…ition-kits-with-dispatcher2
Hi @lvessiller-opendsi |
…ition-kits-with-dispatcher2
The error message is for components of the virtual product. |
Hi @lvessiller-opendsi |
NEW shipment kits with dispatcher v2
Example
1. Create a virtual product
Virtual product '"PANIER1" contains sub-products :
and MINIPANIERGARNI it's a sub virtual product and contains sub-products :
2. Create an order
3. Create a shipment
Then choose your quantities on each product line to prepare the shipment (see 5. to dispatch all shipment lines and children products of a virtual product)
4. Shipment
Here you can see all lines of the shipment
and the details for each warehouse and quantities of each sub-product as tooltip :
POMME1 P1 : ENTREPOT2 (Qty: 4)
POMME1 P1 : STOCKP2 (Qty: 4)
ANANAS1 Ananas : ENTREPOT2 (Qty: 3)
ANANAS1 Ananas : STOCKP2 (Qty : 3)
and we can edit a virtual product
and we can delete a virtual-product
5.Dispatch shipment
Here you can select each warehouse and the quantities for each line of products and sub-products
And then you can save all dispatched lines and validate your shipment.
5.Stock
For virtual product
The stock for virtual product is not managed : movements are only for sub-products (if "incdec" is checked)
The movements are only when we validate or close a shipment (see parameters of stock module)
And when we cancel or delete a shipments, all inverse movements are done in for stock of each sub-product (not virtual product)
example for sub-product "POMME1"
example for sub-product "ANANAS1"
Kit with batches as sub-components
In shipment details you can choose serial numbers for sub-components