Git Product home page Git Product logo

Comments (7)

mvaled avatar mvaled commented on August 25, 2024 1

Hi @StefanRijnhart,

There are three possible scenarios here: (1) You need to keep the data, (2) You have decided you will move to Odoo and forget about the data, (3) You're exploring the changes between OpenERP 7.0 to make your mind.

The first and third cases would be satisfy by simply giving a BIG BIG WARNING when you have a module installed and it is removed in your target version.

The second case would simply drop everything.

I think OpenUpgrade should work by default as in (3), ie. be conservative. This means no change whatsoever in the code. But as you suggest the docs should address the issue and perhaps several functions in openupgrade could assist those who need to simply drop everything.

Currently, I have simply reintroduced this module with empty models and XMLs so the upgrading process takes care of removing everything. I know my employer doesn't really use it.

from openupgrade.

StefanRijnhart avatar StefanRijnhart commented on August 25, 2024

This module is deprecated ('deprecation' Odoo style is of course: removed completely). You should either port it to 8.0, or uninstall it from your migrated database.

from openupgrade.

StefanRijnhart avatar StefanRijnhart commented on August 25, 2024

You could comment on this module on https://github.com/OpenUpgrade/OpenUpgrade/wiki/Migration-from-7.0-to-8.0 (which I think should be in the Sphinx doc really)

from openupgrade.

StefanRijnhart avatar StefanRijnhart commented on August 25, 2024

Actually, maybe OpenUpgrade should warn about obsolete modules and any known adoption attempt by the OCA.

from openupgrade.

mvaled avatar mvaled commented on August 25, 2024

BTW, where is the code of the Sphinx doc?

from openupgrade.

StefanRijnhart avatar StefanRijnhart commented on August 25, 2024

Doc are in https://github.com/OpenUpgrade/OpenUpgrade/tree/8.0/openerp/openupgrade/doc

To clean up your database, use our module https://github.com/OCA/server-tools/tree/8.0/database_cleanup

from openupgrade.

StefanRijnhart avatar StefanRijnhart commented on August 25, 2024

Closing this as this is out of scope for the default migration. If a version of the module is maintained for older versions, it can take care of its own migration, otherwise it can be removed with database_cleanup.

from openupgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.