Help

4

guide to upgrading a v6 module to v7?

Avatar
Gary Miller

Is there any guide that tells what generally needs to be done to convert a V6 module to V7?
- I would think that it would be straight forward to make of list of what are the common changes needed. Example: say that if the partner/contact structure changed then do: Step1, Step2, Step3 to convert/upgrade module. - Simply saying "Here is what you need to create for a V7 module" does not seem like a productive approach. A "convert this to that" seems more helpful/productive for newbies like me. - Gary

Avatar
Discard
1 Answer
1
Avatar
patrick
Best Answer

Unable to answer your question directly, I have converted 1 module (including multiple XML-files and .py files).

What I experienced is that everything which does something with res.partner is suspected, as they have redesigned this (notable res.partner.address has been removed).

Another thing is the XML structure has changed a bit, some options of V6 are not allowed anymore in V7. I do not remember anymore what the specific things were.

1 Comment
Avatar
Discard

If there are some osv.interface, you have to convert them into osv.TransientModel (osv.osv_memory). Have a look at http://help.openerp.com/question/10719/cant-install-any-community-module-on-openerp-v7-import-error-no-module-named-wizard/#10728