← Back to team overview

credativ team mailing list archive

[Bug 908786] Re: bug if debtor line in account voucher validation

 

Hello Aline,

I have checked your issue at my end with new web revno : 1835
I attached the video of "Payment Validate" which have faced the same traceback as you shown in a report.
would you please check it.so I am confirm this  as a bug.

Thanks!

** Attachment added: "traceback found where validate the payment."
   https://bugs.launchpad.net/openobject-addons/+bug/908786/+attachment/2648031/+files/validate_payment.ogv

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

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/908786

Title:
  bug if debtor line in account voucher validation

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  trunk, tested in web client :

  Not sure that the business case is right but the traceback is there

  1/ create an invoice and add it a tax -> with account 110200 debtors
  2/ validate it and pay it 
  3/ you can see 2 o2m -> one with invoice line and one with debtors lines
  4/ if you try to validate it : 

  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 175, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 812, in create
      r = m.create(data, req.session.eval_context(req.context))
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 430, in proxy
      *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

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

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


References