New question #230898 on OpenUpgrade Server:
https://answers.launchpad.net/openupgrade-server/+question/230898
Hi,
I tried again to use OpenUpgrade on a DB I created with OE 6.1 without data &
Demo.
I have a couple of question.
First, during the post-migration script, I have a fatal ERROR :
2013-06-17 09:25:13,873 3638 ERROR v61_vierge OpenUpgrade: base: error in
migration script
~/migration/openobject-server_upgrade/openerp/addons/base/migrations/7.0.1.3/post-migration.py:
%d format: a number is required, not dict
In the function def reset_currency_companies(cr, pool), there is a call to
search() function with this parameter :
(cr, SUPERUSER_ID, [('company_id', '!=', False)], {'active_test': False})
If I try that :
(cr, SUPERUSER_ID, [('company_id', '!=', False)], context={'active_test':
False})
It works. (ie = there is no fatal error and I can test the DB in 7.0)
Second think, i don't understand the general process :
For exemple, in res.users (6.1) there is context_tz, context_lang & menu_tips.
In res.users (7.0) there isn't.
1/ First question, I have a lot of error after the pre-migration script like :
2013-06-17 09:25:06,178 3638 ERROR v61_vierge openerp.osv.orm: Can't find field
'context_tz' in the following view parts composing the view of object model
'res.users': * res.users.form
2/ At the end of the migration, the fields 'context_tz' & co remain in the
res_users.
3/ After the end of the migration there is some temporary fields in my
res_users table like "openupgrade_7_created_partner_id". Why the migration
script doesn't shoot them ?
Thanks for your attention.
Sylvain. (FR)
--
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Server.
--
Mailing list: https://launchpad.net/~openupgrade-drivers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openupgrade-drivers
More help : https://help.launchpad.net/ListHelp