JIT does not work with PHANTOM, make_to_order + produce

Bug #1033731 reported by Kyle Waid
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP R&D Addons Team 2

Bug Description

delivery order state is waiting availability when it should be available. The JIT module or running the scheduler should make the delivery order available but it does not. The item only becomes available when you "check availability".

To reproduce
Install JIT Module, or Run MRP scheduler after order confirmation if not installed

Create 1 product that is make to order, produce, stockable product. Have quantity=0 Product A
Create 1 component product that is make to stock, buy, stockable product. Add quantity 100 to this product Product B
Create 1 bill of materials, type phantom. The bill is based on Product A. Product B is the component. Quantity 1

Create 1 order for Product A. When you confirm the order, the state of the product is exception, but under procurement exceptions it says "From Stock: Products Assigned".

The delivery order state is Waiting Availability.
Run MRP Scheduler. Delivery order state is still Waiting Availability

The only way to properly have the delivery order in available state is to click "Check Availability" on the delivery order form.

We believe that with JIT installed, when the order is confirmed it should automatically make the delivery order available if the components are in stock and available.
Without JIT installed, the order should become available upon running of the scheduler. Or in all cases, the order should be available for delivery upon running the scheduler.

Please confirm the error.

Related branches

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

 Hello Kyle,

I have checked your issue .But it's not a bug

Let me explain

I have configure as you have describe in earlier comment .
Suppose you have made Sale order with that product(A), when you confirm SO then new created deliver order, should be in waiting available state because when mrp_jit is install it will only generate MO, not process that MO to the done state.
Also check availability button works on real stock .So right now product is not available in stock. So it will not in available till MO will complete.

All I have shown in attached videos with mrp_jit and without JIt install .Please have a look

Thanks..!!

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :
Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Kyle Waid (midwest) wrote :

Hello,

I am not sure you checked what I had wrote. This only happens with Phantom BOM AND Make to order/Produce combination. In this particular configuration from what I understand, a phantom bom does NOT generate a manufacturing order. In your video, you did not demonstrate the product configuration, and in your video you are using a normal bom, so you missed what I was explaining. Normal BOM works as expected. Please the test scenario I have described again.

bug:
The product only becomes available for delivery when you check availability. The scheduler does NOT make the product available, and it is NOT supposed to generate any manufacturing order.

summary: - JIT does not work with = make_to_order + produce
+ JIT does not work with PHANTOM, make_to_order + produce
Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Kyle,

Sorry,I forget to set the type as phantom.Now it's procurable with your scenario.
It should be available without using check availability.

So I am assign it to respective team.

Thanks for post..!!!

Changed in openobject-addons:
importance: Undecided → Low
status: Incomplete → Confirmed
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
Yann Papouin (yann-papouin) wrote :

Looks like a duplicate of lp#1006778

Revision history for this message
Yann Papouin (yann-papouin) wrote :
Revision history for this message
Richard Lewis (richard-lewis-r) wrote :

This bug is still present in 7.0.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.