← Back to team overview

openerp-india team mailing list archive

[Bug 898498] Re: [6.0.3] Physical inventory - import inventory action broken

 

** Branch linked: lp:~openerp-dev/openobject-addons/6.0-opw-578768-rha

** Branch linked: lp:~openerp-dev/openobject-addons/6.1-opw-578768-rha

-- 
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/898498

Title:
  [6.0.3] Physical inventory - import inventory action broken

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  The Import Inventory action in Physical Inventories is broken and only
  imports stock moves into to selected location, all outgoing moves are
  ignored which means the amounts imported will generally always be
  incorrect.

  In stock_fill_inventory.py the search filter only includes 'location_dest_id':
  Line 89:            move_ids = move_obj.search(cr, uid, [('location_dest_id','=',location),('state','=','done')], context=context)

  One way to test the import action is that if the imported inventory is
  confirmed without any changes there should be no posted moves in the
  physical inventory.

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


References