Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4 Vastaukset
5720 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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.

Paras vastaus

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
Hylkää
Tekijä

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.

Tekijä Paras vastaus

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
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
toukok. 23
1652
3
helmik. 24
12035
1
maalisk. 15
3516
0
maalisk. 15
3070
1
heinäk. 19
6567