OpenUpgrade and third-party modules

Asked by Yann Papouin

What is the proper way to run OpenUpgrade ?
Do I should first uninstall thid-party modules from my OpenERP 6.1 database ?

About uninstalling module, is there a risk of data loss ? (I don't know how the OpenERP uninstall is working).

Question information

Language:
English Edit question
Status:
Solved
For:
OpenUpgrade Server Edit question
Assignee:
No assignee Edit question
Solved by:
Yann Papouin
Solved:
Last query:
Last reply:
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) said :
#1

You should not need to uninstall third-party modules. It can lead to dataloss in 6.1 as noupdate data will be reïnitialized upon reinitializing, but from 7.0 on it will also drop related tables and columns.

You may need to write migration scripts for these third-party modules, but they are usually more stable in terms of db schema and may include their own migration scripts already if necessary.

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) said :
#2

.. will be reinitialized upon *reinstallation*

Revision history for this message
Holger Brunn (Therp) (hbrunn) said :
#3

and I always like to point people to migrate.py: http://bazaar.launchpad.net/~openupgrade-committers/openupgrade-server/7.0/view/head:/scripts/migrate.py

This script helps you to get your code setup right and can also be given other addons paths as a parameter, like --add "{'6.1': {'addons': {'banking': 'lp:banking-addons/6.1'}}}"

Revision history for this message
Yann Papouin (yann-papouin) said :
#4

Ok so no uninstall.