IntegrityError: insert or update on table "product_supplierinfo" violates foreign key constraint "product_supplierinfo_name_fkey" DETAIL: Key (name)=(2) is not present in table "res_partner".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
From minimal profile + crm modules trying to install product modules I obtain this error
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu maverick (development branch)
Release: 10.10
Codename: maverick
Operating System Release : 2.6.35-22-generic
Operating System Version : #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : it_IT.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/share/
result = LocalService(
File "/usr/share/
return getattr(self, method)(*params)
File "/usr/share/
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/share/
return wiz.execute(db, uid, self.wiz_
File "/usr/share/
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/share/
action_res = action(self, cr, uid, data, context)
File "/usr/share/
db, pool = pooler.
File "/usr/share/
return get_db_
File "/usr/share/
addons.
File "/usr/share/
r = load_module_
File "/usr/share/
tools.
File "/usr/share/
obj.
File "/usr/share/
self.
File "/usr/share/
id = self.pool.
File "/usr/share/
res_id = model_obj.
File "/usr/share/
cr.
File "/usr/share/
return f(self, *args, **kwargs)
File "/usr/share/
res = self._obj.
IntegrityError: insert or update on table "product_
DETAIL: Key (name)=(2) is not present in table "res_partner".
Creating a new database with minimal profile and installing product modules it works.
It seems fail if crm module is installed before.