Comment 6 for bug 1006494

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Hardik,

Kindly inform you that would you please try the following steps which will helps you to produce this bug, but on latest trunk It will give the traceback , So first you have to fix that trace back then you will get the actual bug.

Steps are as follow. (You have to install account_anglo_sexon module)
1. Create one product (product A) Maketo stock > Buy , Set cost method: 'average', cost: 300.
2. Go to Accounting tab, Set real time valuation valuation on inventory valuation field.
3. Product form view default UoM is Unit and Purchase UoM is Dozen.
4. Assign the input stock account and o/p stock a./c
5. Create a PO for same product with 1 qty (Dozen). Confirm it.
6. Done the reception.
At this time you will get the traceback
c['period_id'] = vals['period_id']
KeyError: 'period_id'

First fix this then after you will get the actual bug.

Hope this will help.