openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08375
[Bug 941145] Re: base_contact breaks CRM with google_map or crm_claim installed
Hi Ravish,
I have just tested again on:
http://6_1_4106.runbot.openerp.com:9406/web/webclient/home
and it is still giving an error.
Procedure:
1. Install OpenERP
2. Install CRM
3. Install base_contact
4. Install google_map
5. Look at Sales / Leads and note the error.
In fact on the RunBot at the moment I have already installed the above modules, so just going to Sales / Leads at the present will bring up the error:
http://6_1_4106.runbot.openerp.com:9406/web/webclient/home#page=0&limit=80&view_type=list&model=crm.lead&action_id=147
Error also appears for Sales / Opportunities.
Here is the error trace off the web page:
Client Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/controllers/main.py", line 831, in search_read
return self.do_search_read(req, model, fields, offset, limit, domain, sort)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/controllers/main.py", line 869, in do_search_read
records = Model.read(ids, fields or False, context)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/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-6-1-4106/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/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-6-1-4106/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/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-6-1-4106/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/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-6-1-4106/server/openerp/osv/orm.py", line 3405, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/osv/orm.py", line 3528, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/osv/fields.py", line 488, in get
context=context))
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/osv/orm.py", line 2258, in name_get
[self._rec_name], context, load='_classic_write')]
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/osv/orm.py", line 3405, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/osv/orm.py", line 3464, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-6-1-4106/server/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block
Hope this better description helps :).
--
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/941145
Title:
base_contact breaks CRM with google_map or crm_claim installed
Status in OpenERP Addons (modules):
Incomplete
Bug description:
Just tested on Runbot: (also occurs with 6.1 release).
http://6_1_3557.runbot.openerp.com:9455
Installed google_map and now Sales/Leads and Sales/Opportunities just bug out.
This only seems to occur if base_contact is installed first. google_map by itself seems to be OK and interestingly it is OK if google_map is installed first and then base_contact. However if base_contact and then google_map are installed together in that order, then we cause the major problem of Sales/Leads and Sales/Opportunities bugging out.
Same thing happens with crm_claim if base_contact is already
installed. Interestingly it is OK to install crm_claim and THEN
install base_contact. However installing base_contact THEN installing
crm_claim makes Sales/Leads and Sales/Opportunities bug out.
Similarly if both google_map and crm_claim and THEN base_contact are
installed, no problem, but if either one of google_map or crm_claim
are installed after base_contact, then the bug rears its head.
Haven't tested any other modules with base_contact yet to see if any
others are also broken.
Please excuse if this bug_report is all wrong, I'm just a newbie at
all this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/941145/+subscriptions
References