← Back to team overview

openerp-india team mailing list archive

[Bug 944079] Re: 6.1 Accounting - Journal Entries -> KeyError: 'journal_id'

 

Hello conexus,

As per discussion with our experts we have found that the issue should
be fixed from GTK due to context related issue, Context are not getting
updated when creating new record into the editable mode

It has been fixed into the lp:~openerp-dev/openobject-
client/6.1-opw-573299-skh branch with,

Revision ID: skh@xxxxxxxxxxx-20120507104528-ouqlo7io98ksv1f4
Revision Number: 2059

This branch is under the review of our experts and will be merged soon
into the stable 6.1.

Thanks

** Branch linked: lp:~openerp-dev/openobject-client/6.1-opw-573299-skh

-- 
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):
  Fix Committed

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