Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Problem when Upgrading Web Core(1.0) module in ODOO 8.0 ( Interal Server Error)

By
Ganeshkumar
on 12/24/15, 1:08 AM 734 views

2015-12-23 12:59:37,736 5849 INFO hosted_user_353 openerp.modules.loading: loading hosting_environment/view.xml

2015-12-23 12:59:37,771 5849 WARNING hosted_user_353 openerp.tools.convert: Skipping deletion for missing XML ID `'base.menu_module_updates'`

Traceback (most recent call last):

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 309, in _tag_delete

ids.append(self.id_get(cr, d_id))

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 832, in id_get

res = self.model_id_get(cr, id_str)

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 841, in model_id_get

return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)

File "/home/user/odoo/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "/home/user/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 950, in get_object_reference

return self.xmlid_lookup(cr, uid, "%s.%s" % (module, xml_id))[1:3]

File "/home/user/odoo/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in xmlid_lookup

File "/home/user/odoo/odoo/openerp/tools/cache.py", line 71, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/user/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 908, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % (xmlid))

ValueError: External ID not found in the system: base.menu_module_updates

2015-12-23 12:59:37,797 5849 WARNING hosted_user_353 openerp.tools.convert: Skipping deletion for missing XML ID `'base.menu_module_tree'`

Traceback (most recent call last):

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 309, in _tag_delete

ids.append(self.id_get(cr, d_id))

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 832, in id_get

res = self.model_id_get(cr, id_str)

File "/home/user/odoo/odoo/openerp/tools/convert.py", line 841, in model_id_get

return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)

File "/home/user/odoo/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "/home/user/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 950, in get_object_reference

return self.xmlid_lookup(cr, uid, "%s.%s" % (module, xml_id))[1:3]

File "/home/user/odoo/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in xmlid_lookup

File "/home/user/odoo/odoo/openerp/tools/cache.py", line 71, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/home/user/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 908, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % (xmlid))

........

2015-12-23 13:00:00,491 5849 INFO hosted_user_353 openerp.modules.loading: loading account/project/views/report_analyticjournal.xml

2015-12-23 13:00:00,508 5849 INFO hosted_user_353 openerp.modules.loading: loading account/project/views/report_analyticcostledgerquantity.xml

2015-12-23 13:00:00,526 5849 INFO hosted_user_353 openerp.modules.loading: loading account/project/views/report_analyticcostledger.xml

2015-12-23 13:00:00,543 5849 INFO hosted_user_353 openerp.modules.loading: loading account/project/views/report_invertedanalyticbalance.xml

2015-12-23 13:00:00,561 5849 INFO hosted_user_353 openerp.modules.loading: loading account/views/account.xml

2015-12-23 13:00:04,257 5849 INFO hosted_user_353 openerp.addons.base.ir.ir_translation: module account: loading translation file (en_US) for language en_US

2015-12-23 13:00:04,258 5849 INFO hosted_user_353 openerp.tools.translate: loading /home/user/odoo/odoo/addons/account/i18n/en_US.po

2015-12-23 13:00:05,359 5849 INFO hosted_user_353 openerp.modules.module: module crm: creating or updating database tables

2015-12-23 13:00:05,785 5849 ERROR hosted_user_353 openerp.sql_db: bad query: ALTER TABLE "crm_lead" ADD FOREIGN KEY ("source_id") REFERENCES "crm_tracking_source" ON DELETE set null

Traceback (most recent call last):

File "/home/user/odoo/odoo/openerp/sql_db.py", line 234, in execute

res = self._obj.execute(query, params)

IntegrityError: insert or update on table "crm_lead" violates foreign key constraint "crm_lead_source_id_fkey"

DETAIL: Key (source_id)=(5) is not present in table "crm_tracking_source".

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/24/15, 1:08 AM
Seen: 734 times
Last updated: 12/24/15, 4:45 AM