← Back to team overview

openerp-india team mailing list archive

[Bug 982751] Re: 6.1 - Installing the Document Management module breaks leads

 

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_contact/base_contact.py", line 223, in create
    result = super(res_partner_address, self).create(cr, uid, data, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4179, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "location_id" of relation "crm_lead" does not exist
LINE 1: ...d","zip","title","partner_name","planned_revenue","location_...
                                                             ^

When trying to create an opportunity...

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

Title:
  6.1 - Installing the Document Management module breaks leads

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  After installing CRM, leads works fine.  If you install Document
  Management after (document), then you get the following when going to
  the leads list view:

  InternalError: current transaction is aborted, commands ignored until
  end of transaction block

  And the leads already there don't display.  If you try to save a lead,
  you get:

  ProgrammingError: column "location_id" of relation "crm_lead" does not exist
  LINE 1: ...id","city","user_id","zip","title","partner_name","location_...
                                                               ^
  (arrow lines up under location)

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


References