migrating partners
Posted: Tue Dec 08, 2009 5:50 pm
Hi,
I would like to use your module to copy of partners & addresses.
After installing your 3 modules, I can connect to the old DB.
Then I created a schedule migration of for Partners, Partner Addresses.
When running the migration, there are 3 warnings and 1 error:
The warnings make sense, and I would have hope that I could just correct the receivable/payable accounts manually afterwards?
Then there is this error:
What is wrong there?
I would like to use your module to copy of partners & addresses.
After installing your 3 modules, I can connect to the old DB.
Then I created a schedule migration of for Partners, Partner Addresses.
When running the migration, there are 3 warnings and 1 error:
The warnings make sense, and I would have hope that I could just correct the receivable/payable accounts manually afterwards?
Warning! Object "res.partner" have relation field 'property_account_receivable' which related to object "account.account", this field was not filled because related object's model is not added in Import Model list.
Warning! Object "res.partner" have relation field 'property_account_payable' which related to object "account.account", this field was not filled because related object's model is not added in Import Model list.
Warning! Object "res.partner" have relation field 'events' which related to object "res.partner.event", this field was not filled because related object's model is not added in Import Model list.
Then there is this error:
Traceback (most recent call last):
File "/opt/openerp.bzr/server/bin/addons/server_migration/migration.py", line 600, in _import_data
res = self.import_model(cr, uid, sock, remote_config, remote_uid, id)
File "/opt/openerp.bzr/server/bin/addons/server_migration/migration.py", line 496, in import_model
res = self.import_model(cr, uid, sock, remote_config, remote_uid, rel_import_model_id[0], ref_list, rel_field)
File "/opt/openerp.bzr/server/bin/addons/server_migration/migration.py", line 469, in import_model
res = self.import_model(cr, uid, sock, remote_config, remote_uid, rel_import_model_id[0], ref, rel_field)
File "/opt/openerp.bzr/server/bin/addons/server_migration/migration.py", line 563, in import_model
res_id = create(self.pool.get(model_name), cr, uid, mdata_final)
File "/opt/openerp.bzr/server/bin/addons/server_migration/migration.py", line 267, in create
raise except_orm(_('ValidateError'),
NameError: global name '_' is not defined
What is wrong there?