← Back to team overview

openerp-india team mailing list archive

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

 

We really need to have it merged in the stable 6.1 branch ! This bug
prevents users from entering accounting entries by hand... it's not a
small bug ! If we want OpenERP to have some credibility on accounting,
we can't leave it like that for so long !

-- 
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