c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #32237
[Bug 838012] Re: Error duplicate key
Hello Blqt,
your error occurs because 'stock' module load a bit of data while
installing, like the stock journal. In order to avoid the error, you
have to delete that journal and related properties.
By the way, as said ( http://www.openerp.com/forum/post90304.html#p90304 ), using these migration modules without having a complete knowledge of the data structure, will certainly generate problems.
These modules have been developed for OpenERP integrators, not end users.
Lastly, not being able to reproduce the amaza's problem, I'm closing
this bug.
** Changed in: domsense-agilebg-addons
Status: New => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/838012
Title:
Error duplicate key
Status in OpenERP Addons by Agile BG & Domsense:
Invalid
Bug description:
when I do schedule migration, and see the scheduled migration I've
the next error
<<<<<<<<<<<<<<<< Error! >>>>>>>>>>>>>>>> Traceback (most recent call
last): File "C:\Archivos de programa\OpenERP
6.0\Server\addons\server_migration\migration.py", line 626, in
_import_data File "C:\Archivos de programa\OpenERP
6.0\Server\addons\server_migration\migration.py", line 589, in
import_model File "C:\Archivos de programa\OpenERP
6.0\Server\addons\server_migration\migration.py", line 329, in create
File "osv\fields.pyo", line 644, in set File "sql_db.pyo", line 78, in
wrapper File "sql_db.pyo", line 131, in execute IntegrityError:
duplicate key value violates unique constraint
"res_partner_category_rel_partner_id_key"
I redo the process (restart) and the error changes to this:
<<<<<<<<<<<<<<<< Error! >>>>>>>>>>>>>>>> Traceback (most recent call last): File "C:\Archivos de programa\OpenERP 6.0\Server\addons\server_migration\migration.py", line 626, in _import_data File "C:\Archivos de programa\OpenERP 6.0\Server\addons\server_migration\migration.py", line 589, in import_model File "C:\Archivos de programa\OpenERP 6.0\Server\addons\server_migration\migration.py", line 329, in create File "osv\fields.pyo", line 644, in set File "sql_db.pyo", line 78, in wrapper File "sql_db.pyo", line 131, in execute IntegrityError: insert or update on table "res_partner_category_rel" violates foreign key constraint "res_partner_category_rel_category_id_fkey" DETAIL: Key (category_id)=(31) is not present in table "res_partner_category".
In first execution there is no detail...
To manage notifications about this bug go to:
https://bugs.launchpad.net/domsense-agilebg-addons/+bug/838012/+subscriptions
References