Stock moves are considered unavailable even if a partial quantity is available

Bug #497806 reported by Ana Juaristi Olalde on 2009-12-17
62
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 2

Bug Description

Install mrp_jit, sales and stock modules

Make a sales order, Packing Policy = partial delivery including this lines:

Product A: Line quantity = 3 --> Product A virtual stock available > 3
Product B: Line quantity = 5 --> Product B virtual stock available < 5 and > 0
Product C: Line quantity = 10 --> Product C virtual stock available = 0

Confirm order.

Packing is created on status confirmed. Even if there is some partial delivery available it is not shown as disposable. This could be considered correct but disposable would be also correct.
So... open the pack. Push confirm availability button. The first line Product A is shown as disposable but lines containing products B and C are not.
It is correct for line C but, maybe not so correct for line B, as partial stock is available for delivering.

Push now make packing button -->
    0 quantity to be packed is shown on lines B and C. It's correct for line C but not for line B where more than cero products are available to be delivered.

So I think there is a bug here. On packing lines, the available quantity instead cero should be shown.
----------------------
Additionally... I think the best way to solve correctly the complete process should be adding a new partial delivery status on packing and packing lines, so user could perfectly filter completly disposable packings, partial disposable packings and confirmed or not available packings. (This part of bug should be a wishlist or blueprint)

Thank you very much:

Ana

gpa(OpenERP) (gpa-openerp) wrote :

Hello Ana,

Push now make packing button -->
    0 quantity to be packed is shown on lines B and C. It's correct for line C but not for line B where more than zero products are available to be delivered.

=>May be you need to install module : sale_supplier_direct_delivery.

=>After installed this you need to checked : True the filed which is exist in supplier information in product form.
so for that particular product it will directly put available quantity in stock picking.

Hope this will help you.
Thanks

Download full text (3.4 KiB)

I tried sale_supplier_direct_delivery module longtime ago, but it didn't
work for me. I think this module tries to be the supplier who directly sends
goods to customer... that's not the functionality needed here at all...
because is myself sending goods to my customers independently of my
suppliers. Please tell me if I'm not right.

(Additionally: the problem with this module was that I was loosing partner
on purchase invoices because module was changing the supplier name for the
customer name on some documents. That was totally wrong. I have to say that
I didn't test module again from a few months ago, maybe it is working fine
now. I don't know)

On this bug, I'm just saying that on partial deliverys, even if there is
partial quantity stock available 0 quantity is shown on making packing. No
additional functionality needed.

Thank you!!!

Ana

2010/1/4 gpa(Open ERP) <email address hidden>

> Hello Ana,
>
> Push now make packing button -->
> 0 quantity to be packed is shown on lines B and C. It's correct for line
> C but not for line B where more than zero products are available to be
> delivered.
>
> =>May be you need to install module : sale_supplier_direct_delivery.
>
> =>After installed this you need to checked : True the filed which is exist
> in supplier information in product form.
> so for that particular product it will directly put available quantity in
> stock picking.
>
> Hope this will help you.
> Thanks
>
> --
> quantity to be packed on partial packing shows always 0
> https://bugs.launchpad.net/bugs/497806
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Addons Modules: New
>
> Bug description:
> Install mrp_jit, sales and stock modules
>
> Make a sales order, Packing Policy = partial delivery including this lines:
>
> Product A: Line quantity = 3 --> Product A virtual stock available > 3
> Product B: Line quantity = 5 --> Product B virtual stock available < 5 and
> > 0
> Product C: Line quantity = 10 --> Product C virtual stock available = 0
>
> Confirm order.
>
> Packing is created on status confirmed. Even if there is some partial
> delivery available it is not shown as disposable. This could be considered
> correct but disposable would be also correct.
> So... open the pack. Push confirm availability button. The first line
> Product A is shown as disposable but lines containing products B and C are
> not.
> It is correct for line C but, maybe not so correct for line B, as partial
> stock is available for delivering.
>
> Push now make packing button -->
> 0 quantity to be packed is shown on lines B and C. It's correct for line
> C but not for line B where more than cero products are available to be
> delivered.
>
> So I think there is a bug here. On packing lines, the available quantity
> instead cero should be shown.
> ----------------------
> Additionally... I think the best way to solve correctly the complete
> process should be adding a new partial delivery status on packing and
> packing lines, so user could perfectly filter completly disposable packings,
> partial disposable packings and confirmed or not available packings. (This
> part of bug should be...

Read more...

Changed in openobject-addons:
assignee: nobody → Jay (Open ERP) (jvo-openerp)

Hello Ana,

If the move state is not 'available', Packing done button will put its qty to be 0.

I tried the steps mentioned by you, but when I press Force availibility, it makes all moves into 'available' state.

Kindly provide more information.

Thanks.

Download full text (3.6 KiB)

Yes... and I think it is not correct. That's because if there is only
partial stock available, lines stay confirmed, not disposable. Conceptually
it's right, because if you mark it as disposable, you are making available
quantities that are still not available so If you pack total quantity, you
are causing negative stock level wich would cause broken stock.. It will be
not correct.

But I think someway system should show at less the quantity availlable for
that line, even if it's not completly disposable. Today, there is no way to
send partial materials without forcing availability so I think this is a
critical problem. User should always know quantity available to be send
without forcing disponibility for all quantity.

For next version I think availability on picking should be reviewed and
included a new status "partially available" or something like that but for
now I think it would be enough if packing wizard shows quantity available to
be sent even if move is only confirmed.
It should be necesary allowing movements from confirmed to done in this
case.

I say... When you make partial packing create a new line done with partial
quantity packed as it was disposable.

I don't know if I explain right.

Please let me know.

Thank you:

Ana

2010/3/11 Jay (Open ERP) <email address hidden>

> Hello Ana,
>
> If the move state is not 'available', Packing done button will put its
> qty to be 0.
>
> I tried the steps mentioned by you, but when I press Force availibility,
> it makes all moves into 'available' state.
>
> Kindly provide more information.
>
> Thanks.
>
> --
> quantity to be packed on partial packing shows always 0
> https://bugs.launchpad.net/bugs/497806
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Addons Modules: New
>
> Bug description:
> Install mrp_jit, sales and stock modules
>
> Make a sales order, Packing Policy = partial delivery including this lines:
>
> Product A: Line quantity = 3 --> Product A virtual stock available > 3
> Product B: Line quantity = 5 --> Product B virtual stock available < 5 and
> > 0
> Product C: Line quantity = 10 --> Product C virtual stock available = 0
>
> Confirm order.
>
> Packing is created on status confirmed. Even if there is some partial
> delivery available it is not shown as disposable. This could be considered
> correct but disposable would be also correct.
> So... open the pack. Push confirm availability button. The first line
> Product A is shown as disposable but lines containing products B and C are
> not.
> It is correct for line C but, maybe not so correct for line B, as partial
> stock is available for delivering.
>
> Push now make packing button -->
> 0 quantity to be packed is shown on lines B and C. It's correct for line
> C but not for line B where more than cero products are available to be
> delivered.
>
> So I think there is a bug here. On packing lines, the available quantity
> instead cero should be shown.
> ----------------------
> Additionally... I think the best way to solve correctly the complete
> process should be adding a new partial delivery status on packing and
> packing lines, so user could perfectly fi...

Read more...

Changed in openobject-addons:
assignee: Jay (OpenERP) (jvo-openerp) → nobody
Changed in openobject-addons:
status: New → Triaged

Hello,

This will be consider as a feature for future Road maps.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Wishlist
status: Triaged → Confirmed

Is this feature will be integrated in the 6.1 ?

Numérigraphe (numerigraphe) wrote :

I think the scheduler (or whatever checks the availability of stock moves) needs to be able to split a move line :
- if only part of it is available
- if it needs to pick form 2 stock locations at a time
- if it needs to pick form 2 production lots at a time
and maybe other cases.
That's a major change (a needed one too), so definitely not for 6.1.
Lionel Sausin.

summary: - quantity to be packed on partial packing shows always 0
+ Stock moves are considered unavailable even if a partial quantity is
+ available
tags: added: assignment
Numérigraphe (numerigraphe) wrote :

I marked Bug #400649 a duplicate of this one. Fabien stated there:
"I don't think Open ERP should create two shipments. It create one proposition of shipment and, the partial shipment will be generated when the worker does the packing. (if you set partial delivery in the SO)".

Experts, what are your opinions on this issue please?

Lionel.

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

Duplicates of this bug

Other bug subscribers