← Back to team overview

openerp-india team mailing list archive

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

 

Fixed in following branch,
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-381931-ado
Revision ID: ado@xxxxxxxxxxx-20120330121504-6a9m013j9ibq7dna 
Revision 5171 

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

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