Is there a guide for converting modules from 5.0 to trunk

Asked by Jim Norman

Some of the server api has changed significantly between 5.0 and trunk. Is there a guide for converting modules? In particular, I'm interested in the netsvc api.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nhomar - Vauxoo (nhomar) said :
#1

Hello.

theorically, you only need to change __terp__.py file to __openerp__.py.

IOH, you need to check what models was affecting the old module to check if all names and methods are the same in the new one.

Third. You need to check menus, to put the old ones wher they will be in 6.

Checking this three thing you can upgrade your module, if you know the old structure you only will need to check the new one to convert manually.

I hope it can help you.

Can you help with this problem?

Provide an answer of your own, or ask Jim Norman for more information if necessary.

To post a message you must log in.