Jagdish Panchal (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-577110-jap into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577110-jap/+merge/118521

Hello,

Steps to Reproduce the issue:

1. Modify product PC1 in "Make to Order" (Procurement Method)
2. Create a new sale order with PC1 (qty 10)
3. Confirm sale order
4. In production order, force reservation and start production
5. Produce and choice 4 in quantity, not 10.
6. On  the picking out of the sale order , PC1 has a quantity of 10 is 
available while we produced ​​only 4 for now.

If we split the moves using wizard in Delivery Orders as per the stock 
availability of the respective product and use "Check Availability", it will 
make whatever product qty available and allow us to process them.

Thanks,
jap
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577110-jap/+merge/118521
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-577110-jap.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-08-07 10:04:35 +0000
+++ stock/stock.py	2012-08-07 10:05:35 +0000
@@ -2469,6 +2469,7 @@
                     'location_id': location_id or move.location_id.id,
                 }
                 current_move = self.copy(cr, uid, move.id, default_val)
+                self.write(cr, uid, current_move, {'move_dest_id': False})                
                 res += [current_move]
                 update_val = {}
                 update_val['product_qty'] = quantity_rest

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to