← Back to team overview

openerp-india team mailing list archive

[Bug 1030880] [NEW] Partial picking with tracking fails

 

Public bug reported:

Here is the scenario to reproduce the problem with an up-to-date server 6.1 (revno 4250) and addons 6.1 (revno 6924):
1. Create a new database and install the "sale" module. Activate extended view.
2. Activate "Track outgoing lots" on the products CPU1 and CPU2.
3. Create a new sale order with 2 sale order line : 1 x CPU1 and 1 x CPU2
4. Validate the sale order
5. Go to the corresponding delivery order : it should have 2 move lines, one with CPU1 and the other with CPU2.
6. Now, try to do a partial picking with ONLY CPU1 :
- Enter a prodlot for the move line of CPU1.
- click on "Force availability"
- click on "Process" 
- in the pop-up window, set the Quantity to 0 for CPU2
- Click on the "Validate" button of the pop-up window
=> You get an error message "Correct red fields ! Product Moves - Production Lot" 

OpenERP refuses to Validate the partial picking because he requires to
have a prodlot for CPU2... although this line has a quantity of 0.

The enclosed patch fixes the problem in addons/6.1.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1030880

Title:
  Partial picking with tracking fails

Status in OpenERP Addons (modules):
  New

Bug description:
  Here is the scenario to reproduce the problem with an up-to-date server 6.1 (revno 4250) and addons 6.1 (revno 6924):
  1. Create a new database and install the "sale" module. Activate extended view.
  2. Activate "Track outgoing lots" on the products CPU1 and CPU2.
  3. Create a new sale order with 2 sale order line : 1 x CPU1 and 1 x CPU2
  4. Validate the sale order
  5. Go to the corresponding delivery order : it should have 2 move lines, one with CPU1 and the other with CPU2.
  6. Now, try to do a partial picking with ONLY CPU1 :
  - Enter a prodlot for the move line of CPU1.
  - click on "Force availability"
  - click on "Process" 
  - in the pop-up window, set the Quantity to 0 for CPU2
  - Click on the "Validate" button of the pop-up window
  => You get an error message "Correct red fields ! Product Moves - Production Lot" 

  OpenERP refuses to Validate the partial picking because he requires to
  have a prodlot for CPU2... although this line has a quantity of 0.

  The enclosed patch fixes the problem in addons/6.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1030880/+subscriptions


Follow ups

References