← Back to team overview

credativ team mailing list archive

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

 

I checked the trunk version and this has been partially fixed in trunk
revision #5339. Both in and out moves are recorded there.

It still is broken however as any product with move history is included
in the import. Any inventory with zero stock should not be imported.

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, 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):
  New

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