Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo 10 Migration

by
lists
- 21/03/2017 22:18:46
Ok, happy to help. Just to be sure, on branch 10.0, I do have:

openupgradelib>=1.2.0

at the end of the requirements.txt.

You say the core devs don't use it. I'm new to Odoo, what do
they use?

On 03/21/2017 05:08 PM, Stefan Rijnhart wrote:
> 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?
>
> Regards,
> Stefan.
>
> _______________________________________________
> Mailing-List: https://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: https://odoo-community.org/groups?unsubscribe
>

Reference