← Back to team overview

openerp-india team mailing list archive

[Bug 1000747] Re: trace-back when Merge two Opportunities

 

Hello Amit,

Will you please check this bug again!!!

It was not from addons side!!!

It was due to generic problem of m2m filed which is not the case anymore
and this bug is also fixed due to web improvement.

Thanks,
Purnendu Singh

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

Title:
  trace-back when Merge two Opportunities

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  n runbut: trunk [build- 9031]

  step to reproduce ---<>|

  1] open a list view of Opportunities 
  2] select 2 or more Opportunities and [in more ] click Merge Opportunities and Merge
      so give a traceback like 

  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-9031/server/openerp/addons/crm/wizard/crm_merge_opportunities.py", line 34, in action_merge
      lead_ids = [opportunities[0].id]
  IndexError: list index out of range

  Thanks
  mma

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


References