← Back to team overview

openerp-india team mailing list archive

[Bug 1049417] Re: Crash editing entries lines

 

Hello Cristian Salamea ,

For trunk it fixed at 7365  with branch : lp:~openerp-dev/openobject-addons/trunk-bug-955910-mma.
For 6.1-stable I am assigning this issue opw team.

Thanks!!

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

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

Title:
  Crash editing entries lines

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  With lastest 6.1 revo (installed account_cancel), test this case:

  Create an customer invoice, validate
  go to Journal entries
  Open move created from invoice, cancel it, edit mode
  edit mode for any line in move go to credit value change it, then click on save.

  get this error:

  Client Traceback (most recent call last):
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/controllers/main.py", line 1032, in onchange
      result = self.call_common(req, model, method, args, context_id=context_id)
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/controllers/main.py", line 996, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/controllers/main.py", line 1010, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/Users/ovnicraft/development/openerp/61/web61/addons/web/common/http.py", line 608, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

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

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


References