← Back to team overview

openerp-india team mailing list archive

[Bug 1084416] Re: Error when update Quantity On Hand for Product with real-time valuation

 

*** This bug is a duplicate of bug 1076363 ***
    https://bugs.launchpad.net/bugs/1076363

** This bug has been marked a duplicate of bug 1076363
   Cannot pick products with real time stock valuation enabled

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

Title:
  Error when update Quantity On Hand for Product with real-time
  valuation

Status in OpenERP Addons (modules):
  New

Bug description:
  Based on trunk version,
  (Build 544)
  server (4613)
  addons (8155)
  web (3518)

  Error when update Quantity On Hand for Product with real-time
  valuation

  Step:
  ====
  1. Change warehouse setting --> Generate accounting entries per stock movement
  2. Change product, i.e., USB Adapter to use Inventory Valuation = Real Tim + Add input and output accounting
  3. On Product's Inventory tab, update Quantity On Hand to anything.
  4. Error,

    File "/home/kittiu/workspace/openerp_trunk/addons/stock/stock.py", line 2448, in action_done
      self._create_product_valuation_moves(cr, uid, move, context=context)
    File "/home/kittiu/workspace/openerp_trunk/addons/stock/stock.py", line 2407, in _create_product_valuation_moves
      'ref': move.picking_id and move.picking_id.name})
    File "/home/kittiu/workspace/openerp_trunk/addons/account/account.py", line 1442, in create
      c['period_id'] = vals['period_id']
  KeyError: 'period_id'

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


References