← Back to team overview

openerp-india team mailing list archive

[Bug 1096061] Re: [OpenERP V7] traceback on refund type modify for account.invoice

 

It will be available on 7.0 branch too ?

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

Title:
  [OpenERP V7] traceback on refund type modify for account.invoice

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Version: OpenERP branch V7.0 last runbot
  To reproduce:

  - on rubot.openerp.com
  - accounting > customer invoice 
  - Choose an invoice in open 'state'
  - click on refund
  - choose modify type (third on select box)
  - and refund

  Traceback:

  OpenERP Server Error

  Client Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/http.py", line 195, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/controllers/main.py", line 1082, in call_button
      action = self._call_kw(req, model, method, args, {})
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/controllers/main.py", line 1070, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/session.py", line 40, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/session.py", line 28, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/session.py", line 101, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/web/session.py", line 87, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/netsvc.py", line 289, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/account/wizard/account_invoice_refund.py", line 223, in invoice_refund
      return self.compute_refund(cr, uid, ids, data_refund, context=context)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/account/wizard/account_invoice_refund.py", line 187, in compute_refund
      invoice_lines = inv_obj._refund_cleanup_lines(cr, uid, invoice_lines)
    File "/home/odoo/runbot/static/openerp-dev-7-0-1355/server/openerp/addons/account/account_invoice.py", line 1151, in _refund_cleanup_lines
      for field in line._all_columns.keys():
  AttributeError: 'dict' object has no attribute '_all_columns'

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


References