← Back to team overview

openerp-india team mailing list archive

[Bug 1014014] Re: accounting document / Duplication / Error

 

*** This bug is a duplicate of bug 955910 ***
    https://bugs.launchpad.net/bugs/955910

** This bug has been marked a duplicate of bug 955910
   modifying Journal entry

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

Title:
  accounting document / Duplication / Error

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi !

  I have OPENERP v6.1 On Ubuntu 10.4

  I duplicate an accounting document
  and I modify an accounting entry of this document.

  When I click on save I have the message :

  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 984, in onchange
      result = self.call_common(req, model, method, args, context_id=context_id)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 948, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 962, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/openerp/addons/account/account.py", line 1366, in onchange_line_id
      balance += (line[2]['debit'] or 0.00)- (line[2]['credit'] or 0.00)
  KeyError: 'debit'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1014014/+subscriptions


References