← Back to team overview

credativ team mailing list archive

[Bug 898498] [NEW] [6.0.3] Physical inventory - import inventory action broken

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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


Follow ups

References