POS : can't confirm or compute entries in statements reconciliation

Bug #537488 reported by Francois Pietquin (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Bhumika Shrimali

Bug Description

In Financial Management / Periodical Processing / Bank Reconciliation / Statements reconciliation, I can't compute or confirm entries.

FYI : addons revision = 3174

******

Error message (compute action) :

Traceback (most recent call last):
  File "/home/francois/openerp/trunk/server/bin/netsvc.py", line 370, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/francois/openerp/trunk/server/bin/service/web_services.py", line 587, in dispatch
    res = fn(db, uid, *params)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/francois/openerp/trunk/server/bin/addons/point_of_sale/account_bank_statement.py", line 128, in create
    open_jrnl = self.search(cr, uid, [('company_id', '=', vals['company_id']), ('journal_id', '=', vals['journal_id']), ('state', '=', 'open')])
KeyError: 'company_id'

Error message (confirm action) :

Traceback (most recent call last):
  File "/home/francois/openerp/trunk/server/bin/netsvc.py", line 370, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/francois/openerp/trunk/server/bin/service/web_services.py", line 587, in dispatch
    res = fn(db, uid, *params)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/francois/openerp/trunk/server/bin/osv/osv.py", line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/francois/openerp/trunk/server/bin/addons/point_of_sale/account_bank_statement.py", line 128, in create
    open_jrnl = self.search(cr, uid, [('company_id', '=', vals['company_id']), ('journal_id', '=', vals['journal_id']), ('state', '=', 'open')])
KeyError: 'company_id'

Changed in openobject-addons:
milestone: none → 6.0
summary: - can't confirme or compute entries in statements reconciliation
+ POS : can't confirm or compute entries in statements reconciliation
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Francois,

  It has been fixed by revision <email address hidden>
  Please update your code check it.

Thanks.

Changed in openobject-addons:
assignee: nobody → Sbh (Open ERP) (sbh-openerp)
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.