openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09566
[Bug 944079] Re: 6.1 Accounting - Journal Entries -> KeyError: 'journal_id'
** Changed in: openobject-addons
Status: Incomplete => Confirmed
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
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/944079
Title:
6.1 Accounting - Journal Entries -> KeyError: 'journal_id'
Status in OpenERP Addons (modules):
In Progress
Bug description:
Hello,
I'm not sure if this has already been posted, but I couldn't find a
matching bug report.
When trying to create a Journal Entry in Accounting\Journal Entries
(date, amount ... + hit Enter), a KeyError occurs, although a Journal
has been selected:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/conexus/Dokumente/addons/account/account_move_line.py", line 1246, in create
self._update_journal_check(cr, uid, context['journal_id'], context['period_id'], context)
KeyError: 'journal_id'
2012-03-01 15:08:25,639 5593 ERROR ? openerp.netsvc: journal_id
> /home/conexus/Dokumente/addons/account/account_move_line.py(1246)create()
-> self._update_journal_check(cr, uid, context['journal_id'], context['period_id'], context)
with kind regards,
Sven Petersen
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/944079/+subscriptions
References