Incoming Shipment ERROR when receive a Product with Real Time Inventory Valuation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
If product is to be received is not Real Time inventory valuation, there will be no problem, but if it is, ERROR will occur when trying to post accounting.
*Based on*
(Build 24921)
server (4562)
addons (8041)
web (3425)
*Steps to Error*
==============
1. Create new database with Demo data and install "Accounting" and "Warehouse" module
2. Menu / Settings / Configuration / Warehouse --> Generate accounting entries per stock movement = YES
3. Edit Product i.e., USB Adapter --> go to Accounting tab --> Set Inventory Valuation = Real Time, Set Stock Input Account and Stock Output Account
4. Create new Incoming Shipments (Menu / Warehouse / Receive/Deliver By Orders / Incoming Shipments) and try to receive this product.
Error as following when click "Receive"
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
stock_
File "/home/
self.
File "/home/
context=
File "/home/
self.
File "/home/
'ref': move.picking_id and move.picking_
File "/home/
c['period_id'] = vals['period_id']
KeyError: 'period_id'
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Hello,
This will become duplicate of lp:1076363 because lp:1076363 is first reported,
Anyways thanks for the reporting with nice producible steps!