跳至内容
菜单
此问题已终结
4 回复
5490 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃
编写者

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.

最佳答案

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.

形象
丢弃
编写者

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.

编写者 最佳答案

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.

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
5月 23
1466
3
2月 24
11817
1
3月 15
3289
0
3月 15
2929
1
7月 19
6448