← Back to team overview

openerp-india team mailing list archive

[Bug 901163] Re: [Trunk 6.1] Unable to reconcile invoice against payment in bank statement

 

[Expired for OpenERP Addons because there has been no activity for 60
days.]

** Changed in: openobject-addons
       Status: Incomplete => Expired

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

Title:
  [Trunk 6.1] Unable to reconcile invoice against payment in bank
  statement

Status in OpenERP Addons (modules):
  Expired

Bug description:
  Trunk 6.1
  Server revno 3856
  Web revno 1626

  I use demo data.
  I have an invoice of 500 CHF for partner Camptocamp (I linked a receivable account in CHF). I registered an advance payment of 200 CHF through the Journal Items view in a bank journal in CHF too.

  I enter a bank statement (CHF) and create a new statement line for
  partner Camptocamp. I enter an amount of 299, and I want to consider
  the payment as complete (with write-off and exchange differences).

  I click Create and Edit in the payment field. See screenshot.
  I change the amount paid to 500 CHF and enter an account for exchange rate and one for write-off. I click the Save button at the top.

  The following error appears:

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/agaplan/openerp/web/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/agaplan/openerp/web/addons/web/controllers/main.py", line 766, in create
      r = m.create(data, req.session.eval_context(req.context))
    File "/home/agaplan/openerp/web/addons/web/common/openerplib/main.py", line 429, in proxy
      *args)
    File "/home/agaplan/openerp/web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/agaplan/openerp/web/addons/web/common/openerplib/main.py", line 130, in send
      return getattr(service, method)(*args)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
      return self.single_request(host, handler, request_body, verbose)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
      return self.parse_response(response)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
      return u.close()
    File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/home/agaplan/openerp/server/openerp/wsgi.py", line 77, in xmlrpc_return
      result = openerp.netsvc.dispatch_rpc(service, method, params)
    File "/home/agaplan/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/agaplan/openerp/server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/agaplan/openerp/server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/agaplan/openerp/server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/agaplan/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/agaplan/openerp/server/openerp/osv/orm.py", line 4161, in create
      self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
    File "/home/agaplan/openerp/server/openerp/osv/orm.py", line 4284, in _store_set_values
      result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context)
    File "/home/agaplan/openerp/server/openerp/osv/fields.py", line 1034, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/home/agaplan/openerp/addons/account_voucher/account_voucher.py", line 1065, in _compute_balance
      ctx.update({'date': line.voucher_id.date})
    File "/home/agaplan/openerp/server/openerp/osv/orm.py", line 478, in __getattr__
      raise AttributeError(e)
  AttributeError: 'Field voucher_id not found in browse_record(account.voucher.line, 34)'

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


References