Public bug reported:

When I try to upgrade from 5.0.16 to 6.0, I get the following error
(slightly edited):

  File "base_report_creator/migrations/6.0.1.0/pre-migration.py", line 22, in 
<module>
ImportError: No module named openerp.openupgrade

Steps to reproduce:
1. Create a new database in 5.0 with no sample data and the manufacturing 
industry profile.
2. Set the view mode to Extended Interface.
3. Leave the default values for all the other setup steps, and set the chart of 
accounts to "None".
4. From the Administration menu, choose Modules Management: Modules.
5. Open the base_report_creator module and install it.
6. Run the migration using the options, "--update all --stop-after-init". The 
error occurs as listed above.

The full command line I use for the migration is as follows:
python openerp-server.py --database migrationtest --update all 
--stop-after-init --addons ~/upgrade-addons-6.0 --config ~/openerp-server.config

** Affects: openupgrade-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is the registrant for OpenUpgrade Addons.
https://bugs.launchpad.net/bugs/1025923

Title:
  Broken import in base_report_creator module

Status in OpenUpgrade Addons:
  New

Bug description:
  When I try to upgrade from 5.0.16 to 6.0, I get the following error
  (slightly edited):

    File "base_report_creator/migrations/6.0.1.0/pre-migration.py", line 22, in 
<module>
  ImportError: No module named openerp.openupgrade

  Steps to reproduce:
  1. Create a new database in 5.0 with no sample data and the manufacturing 
industry profile.
  2. Set the view mode to Extended Interface.
  3. Leave the default values for all the other setup steps, and set the chart 
of accounts to "None".
  4. From the Administration menu, choose Modules Management: Modules.
  5. Open the base_report_creator module and install it.
  6. Run the migration using the options, "--update all --stop-after-init". The 
error occurs as listed above.

  The full command line I use for the migration is as follows:
  python openerp-server.py --database migrationtest --update all 
--stop-after-init --addons ~/upgrade-addons-6.0 --config ~/openerp-server.config

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-addons/+bug/1025923/+subscriptions

-- 
Mailing list: https://launchpad.net/~credativ
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~credativ
More help   : https://help.launchpad.net/ListHelp

Reply via email to