Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
5828 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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.

Najlepsza odpowiedź

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.

Awatar
Odrzuć
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 Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 23
1845
3
lut 24
12194
1
mar 15
3688
0
mar 15
3215
1
lip 19
6816