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: mp+117429@code.launchpad.net

Description of the change

Steps:
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.

Regards,
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 :

Hello,

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 https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577446-port-mma/+merge/134899 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.

Thanks,
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
=== modified file 'stock/wizard/stock_partial_picking_view.xml'
--- stock/wizard/stock_partial_picking_view.xml 2011-12-30 11:06:04 +0000
+++ stock/wizard/stock_partial_picking_view.xml 2012-07-31 13:02:36 +0000
@@ -23,7 +23,7 @@
23 <field name="quantity" />23 <field name="quantity" />
24 <field name="product_uom" />24 <field name="product_uom" />
25 <field name="tracking" invisible="1"/>25 <field name="tracking" invisible="1"/>
26 <field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True)]}"/>26 <field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True),('quantity', '!=', 0)]}"/>
27 <!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->27 <!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
28 <field name="update_cost" invisible="1"/>28 <field name="update_cost" invisible="1"/>
29 <field name="cost" invisible="1"/>29 <field name="cost" invisible="1"/>