Merge lp:~openerp-dev/openobject-addons/6.1-opw-577446-ado into lp:openobject-addons/6.1

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6926
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577446-ado
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
stock/wizard/stock_partial_picking_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577446-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Olivier Dony (Odoo) Pending
Review via email:

Description of the change

1. Active the "Track outgoing lots" on the products CPU1 and CPU2.
2. Create a new sale order with 2 sale order line : 1 x CPU1 and 1 x CPU2
3. Validate the sale order and Go to the corresponding delivery order you will see 2 move lines, one with CPU1 and the other with CPU2.
4. Enter a prodlot for the move line of CPU1 and click on "Force availability", then click on "Process"
5. In partial picking wizard set the Quantity to 0 for CPU2
6. Click on the "Validate" button of wizard

Result : You get an warning message "Correct red fields ! Product Moves - Production Lot"

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

Amit Dodiya

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :


This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Naresh Soni

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

But why is this bug not already merged in stable branch ? The patch is small and simple, the bug is a blocking and affecting several of my customers.

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

It's really annoying to see such simple fixes not merged :-(

Unmerged revisions

6926. By Alexis de Lattre

[FIX] when we have production lot tracking for product the partial picking wizard refuses to validate the partial picking because he requires production lot for product although the line in wizard has a quantity of 0

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/wizard/stock_partial_picking_view.xml'
2--- stock/wizard/stock_partial_picking_view.xml 2011-12-30 11:06:04 +0000
3+++ stock/wizard/stock_partial_picking_view.xml 2012-07-31 13:02:36 +0000
4@@ -23,7 +23,7 @@
5 <field name="quantity" />
6 <field name="product_uom" />
7 <field name="tracking" invisible="1"/>
8- <field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True)]}"/>
9+ <field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True),('quantity', '!=', 0)]}"/>
10 <!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
11 <field name="update_cost" invisible="1"/>
12 <field name="cost" invisible="1"/>