Contributors mailing list archives


Re: Odoo 10 Migration

Opener B.V., Stefan Rijnhart
- 21/03/2017 21:53:36
On 03/21/2017 03:22 PM, Andy Teijelo Pérez wrote:
> Hi, Stefan.
> Thanks for your message. I'll create the PR.
> I'm trying to run OpenUpgrade 10 now and I just got an error when
> installing the OpenUpgrade Records addon because openerplib
> is not installed.
> I've had that in the past, with OpenUpgrade 7, 8 & 9. I simply did:
>   pip install openerp-client-lib
> My question is, why isn't that in the requirements.txt ?

Well, first of all, you probably don't need to install the
openupgrade_records module. It is used to generate the analysis files
which are already included in the openupgrade distribution so unless you
want to hack and improve this process (you're more than welcome!) you
don't need to use this module.

What is worse, the requirements.txt does not even list openupgradelib,
which you *will* need to develop migration scripts or migrate your
databases. I guess that shows that none of the core OpenUpgrade
developers use this file to install OpenUpgrade but we should probably
add it. Maybe another PR from your side?