sale delivery order bug

Bug #581754 reported by David Janssens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Vinay Rana (OpenERP)

Bug Description

create a sale order with 2 lines.
set output location to be chained
confirm the sale order.
result: 1 outgoing packing + 2 delivery orders are created.
imo, this is a bug because only 1 delivery order should be created.

Related branches

Changed in openobject-addons:
milestone: none → 5.0.11
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Hi David,

Please, Could you provide a small xml file with some demo data to check this bug ? (with the base_module_recorder for example)

Thank you

Revision history for this message
David Janssens (david.j-almacom) wrote : Re: [Bug 581754] Re: sale delivery order bug

i'm sorry i don't have time right now to record it, and i don't think
it's needed at all.
it's very easy to test with the demo db.
create SO with 2 lines: pc1, pc2 for example
set output location to chained, type customer (to create delivery order
from outgoing packing)
confirm SO
check that there are 2 delivery orders instead of one.

Thanks,
--
David Janssens
Almacom (Thailand) Ltd.
http://almacom.co.th/

On 05/17/2010 10:13 PM, Stephane (Open ERP) wrote:
> Hi David,
>
> Please, Could you provide a small xml file with some demo data to check
> this bug ? (with the base_module_recorder for example)
>
> Thank you
>
>

Revision history for this message
David Janssens (david.j-almacom) wrote :

btw, the cause of the bug is quite obvious:
the procurements of the SO are confirmed 1 by 1, which confirms the move
and creates the chain.
the problem is that the procurements are confirmed before the packing
list is.
the solution is to confirm the packing before the individual
procurements are confirmed.

Thanks,
--
David Janssens
Almacom (Thailand) Ltd.
http://almacom.co.th/

On 05/17/2010 10:13 PM, Stephane (Open ERP) wrote:
> Hi David,
>
> Please, Could you provide a small xml file with some demo data to check
> this bug ? (with the base_module_recorder for example)
>
> Thank you
>
>

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello David Janssens,

Can you apply the attached patch and notify me?

Thanks.

Changed in openobject-addons:
assignee: nobody → vra (openerp) (vra-openerp)
status: New → In Progress
Changed in openobject-addons:
milestone: 5.0.11 → 5.0.12
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2796 <email address hidden>.
Thank you David.

Changed in openobject-addons:
milestone: 5.0.12 → 5.0.13
status: In Progress → Fix Released
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.