← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 638385] Re: 5.0 Regression - Canceled pickingline in picking does create a invoiceline (Patch incl)

 

** Changed in: openobject-addons/5.0
       Status: New => Fix Released

** Changed in: openobject-addons/trunk
     Assignee: DHS(OpenERP) (dhs-openerp) => (unassigned)

** Changed in: openobject-addons/5.0
    Milestone: None => 5.0.15

** Changed in: openobject-addons/trunk
       Status: Confirmed => Fix Released

** Changed in: openobject-addons/trunk
    Milestone: None => 6.0

** Changed in: openobject-addons/5.0
   Importance: Undecided => Medium

** Summary changed:

- 5.0 Regression - Canceled pickingline in picking does create a invoiceline (Patch incl)
+ Canceled Move should not go for Invoice creation.

-- 
Canceled Move should not go for Invoice creation.
https://bugs.launchpad.net/bugs/638385
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Fix Released
Status in OpenObject Addons 5.0 series: Fix Released
Status in OpenObject Addons trunk series: Fix Released

Bug description:
Patch included

SITUATION IDENTIFIED IN:
Created Invoice from packing

REPRODUCTION ENVIRONMENT:
Stable version 5.0.16 via bazaar updated today via bazaar.
revision 2849
date: 2010-09-014
branch-nick: addons

PROBLEM DESCRIPTION:
Invoice is created with a invoice line containing canceled pickinglines

SPECIFIC PARAMETER SETUP:
Purchase order type is "Invoice from picking"
Demo data setup

STEPS TO BE FOLLOWED:
Create a purchase order with 1 orderline  with 1 pcs BasicPC and a second orderline with 1 pcs MediumPC
Check the parameter that the invoice is created "From picking"
Confirm and Approve the purchaseorder.

Go to Packing and see that a packing is created with 2 picking lines.
Click on first picking line to go into detail screen and "Cancel" this specific picking line. Exit this detail screen.
Now first line is canceled and the second one is open.
Receive the product by check availability and confirm. See that only the second line asked for quantity which is correct.

Create invoice

OBSERVED RESULT:
The invoice contains both productlines with ordered products, not the delivered products.

EXPECTED RESULT:
An invoice with only the delivered products

ADDITIONAL COMMENTS:
This functionality is changed between 5.04 and 5.014.
Previously for the cancelled picking line a backorder was created in status cancelled. 
Therefore the cancelled line disappeared from the picking where the invoice was created from. This is not the case anymore and no check is done on cancelled picking lines.

I like the current functionality as it cleans up the packing orders but the invoice should be created right.