Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
5646 Vistas

I need a migration script to convert a v6 module to v7. Or a guideline on what parts of the code I need to change.

Avatar
Descartar
Mejor respuesta

there is no script. what we have done is load V7 and try the modules and fix the issues - quite a few xml changes, no so many python changes

Avatar
Descartar
Autor

I have a simple module that works on openERP6.1. I have tried to do the changes suggested but no solution. I can see the module on the module list but is marked as to be installed. When I do an immediate install nothing happens.

I wish I can give it to someone to check it.

Mejor respuesta

From https://accounts.openerp.com/forum/Help-1/question/2230

To migrate a module from v6.x to v7 have a look on what changed OpenERP 7 Release Notes

Views

What you need will have to change are mostly the views as most of them where redesigned. So you will have to change the xpath in view inherits or add <group> tags to see the fields labels.

Model

For the model, you mainly needs to know that res.partner.address disappeared as contact are now res.partner, plus res.users is an inherit of res.partner. For more details read the Release Notes.

Community Modules

If you plan to port a community module or you want to add a new module in community modules, you will have to do this with a merge proposal in one of the community branches and this will be reviewed by the community reviewers.

Avatar
Descartar
Autor

I have a simple module that works on openERP6.1. I have tried to do the changes suggested above but no solution. I can see the module on the module list but is marked as to be installed. When I do an immediate install nothing happens.

I wish I can give it to someone to check it.

Autor Mejor respuesta

I have a simple module that works on openERP6.1. I have tried to do the changes suggested above but no solution. I can see the module on the module list but is marked as to be installed. When I do an immediate install nothing happens.

I wish I can give it to someone to check it.

Avatar
Descartar
Mejor respuesta

I think your best bet is to contact an official OpenERP partner to fix this for you.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 23
1598
3
feb 24
11967
1
mar 15
3457
0
mar 15
3002
1
jul 19
6520