openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #19652
[Bug 1076363] Re: Cannot pick products with real time stock valuation enabled
http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/revision/8181 does it all.
** Changed in: openobject-addons
Status: Confirmed => Fix Committed
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
** Changed in: openobject-addons
Milestone: None => 7.0
--
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/1076363
Title:
Cannot pick products with real time stock valuation enabled
Status in OpenERP Addons (modules):
Fix Released
Bug description:
I have set up a new nightly 6.2dev-20121106-000101 , and installed bare minimum modules :
- accounting , belgium
- purchase
- warehouse
I define a new product, category: all products , valuation: real-time, fill out required fields :
stock input account (new account)
stock output account (new account)
stock valuation account (new account)
when I create a PO and try to receive goods I get a key error on period id output:
File "/opt/openerp/server/openerp/addons/stock/wizard/stock_partial_picking.py", line 213, in do_partial
stock_picking.do_partial(cr, uid, [partial.picking_id.id], partial_data, context=context)
File "/opt/openerp/server/openerp/addons/stock/stock.py", line 1361, in do_partial
self.action_move(cr, uid, [pick.id])
File "/opt/openerp/server/openerp/addons/stock/stock.py", line 906, in action_move
context=context)
File "/opt/openerp/server/openerp/addons/stock/stock.py", line 2445, in action_done
self._create_product_valuation_moves(cr, uid, move, context=context)
File "/opt/openerp/server/openerp/addons/stock/stock.py", line 2407, in _create_product_valuation_moves
'ref': move.picking_id and move.picking_id.name})
File "/opt/openerp/server/openerp/addons/account/account.py", line 1434, 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/1076363/+subscriptions
References