Amit Parik (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1030037-amp into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1030037 in OpenERP Addons: "stock.inventory and product lots"
  https://bugs.launchpad.net/openobject-addons/+bug/1030037

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1030037-amp/+merge/117221

Physical inventory should be check_tracking if incoming track is true, this 
branch will fix it.
Physical inventory check the tracking (serial number ) when incoming lot is 
true because we have used a Physical inventory for creating a starting 
inventory.

Thanks!
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1030037-amp/+merge/117221
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1030037-amp.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-07-27 09:10:29 +0000
+++ stock/stock.py	2012-07-30 07:26:25 +0000
@@ -1590,7 +1590,8 @@
                    (move.product_id.track_production and move.location_id.usage == 'production') or \
                    (move.product_id.track_production and move.location_dest_id.usage == 'production') or \
                    (move.product_id.track_incoming and move.location_id.usage == 'supplier') or \
-                   (move.product_id.track_outgoing and move.location_dest_id.usage == 'customer') \
+                   (move.product_id.track_outgoing and move.location_dest_id.usage == 'customer') or \
+                   (move.product_id.track_incoming and move.location_id.usage == 'inventory') \
                )):
                 return False
         return True

_______________________________________________
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