Odoo Help


how to convert a module from version 6 to version 7??

on 10/20/14, 4:25 AM 1,628 views

I want to convert a module from version 6 to version 7. Can anyone here can teach me how to do that? what are the procedures on converting version 6 to version 7?? thanks in advance..

I think your question misses a word, maybe you mean "how to convert a //module//..."?

on 10/20/14, 5:16 AM
On 10/20/14, 5:20 AM

I didn't find a definitive guide, but here are the resources I found useful when we migrated from v6.0 to v7 this summer:


  • http://aasimania.wordpress.com/2012/06/10/upgrades-in-openerp-6-1-as-compared-to-6-0-x/
  • http://fr.slideshare.net/openobject/openerp-61-framework-changes
  • http://fr.slideshare.net/abdallahsaidi1/open-erp61releasenotes


  • https://docs.google.com/document/d/16OK0PpFID9q8cWnUr0DJa0ETnOGbYKDZHMY35PzmOwA/edit?pli=1
  • https://www.odoo.com/forum/help-1/question/difference-between-built-in-multiprocessor-mode-and-gunicorn-1671
  • http://doc.odoo.com/trunk/server/06_misc_need_action_specs/
  • https://www.odoo.com/forum/help-1/question/cant-install-any-community-module-on-openerp-v7-import-error-no-module-named-wizard-10719#10728

thanks Numerigraphe

on 10/20/14, 8:44 PM

Greate work...!!!

on 1/22/15, 8:26 AM

Anil R. Kesariya

--Anil R. Kesariya--
| 7 6 8
Rajkot, India
--Anil R. Kesariya--

Odoo Techno Functional Expert

* Engaged with odoo since May - 2012.

* Customise existing module or develop new module base on customer requirement.

* Played key developer role in many past and running projects.

* Expert in requirement gathering of business and transforming requirement into odoo platform.

* Major expertise in core modules, database, report development and theme development.

* Integration expert.

Linkedin  : https://in.linkedin.com/in/anil-kesariya-97b20a66

Anil R. Kesariya
On 11/21/14, 4:21 AM

Hello Alcaline Lee,

Here you will find the steps to migrates v6 to v7.

These are the most important steps requires.

1) Import statment in python file:

   v6 : from osv import osv, fields

   v7 : from openerp.osv import osv fields

  Note: Whatever the libaries you are going to import from server you have to write openerp first.

2)  Improve the openerp file.  (Optional)

   instead of update_xml attributes for loading xml files use data property in openerp file.

    e.g. v.6.1/6 __openerp__.py


    'update_xml':[Your xml files]



    e.g. v.7 __openerp__.py


    'data':[Your xml files]



3) Use osv.Model instated osv.osv while defining class. (Optional)

    eg: v6

    class your_class(osv.osv)

    eg: v7

    class your_class(osv.Model)

4) res.partner.address is removed from v7. only res.partner is used for all the contacts and address.

   If you have used res.partner.address model field in your module than you have to replace those fields with specific field. now you can directly use the address detail from res.partner model itself.

  res.partner is used for all the customers,suppliers and contacts details.

5) Instead of using osv.osv_memory you can use osv.TransientModel when you define wizard. (Optional)

    E.g.: v6
    class your_wizard_class_name(osv.osv_memory

    E.g.: v7

    class your_wizard_class_name(osv.TransientModel)

6) If you want to improve your User Interface (Form Views)

   you can apply bootstrap css classes in your fields, you can use all html tag in your view.

   You can also use <sheet> <header> and <footer> to Improve your view.

   you can find examples of sheet, header, footer tags in any standard module of v7.

   Note:  when you use sheet,header and footer tags you have to set version="7.0" in your <form> tag.


    <form version="7.0">

            You will add those fields and button which you want to set in header panel.
                      Main Body tags

            Set your fields here those you want to set in footer


Note: You can use code of v6 in v7 where I mention Optional. but it good to have v7 coding starndard if you are migrating your module from v6 to v7.

I hope this will helps you.


thanks Anil Kesariya

on 12/13/14, 9:27 AM
Aravindh N
On 11/21/14, 12:17 AM

Is there is any possible way to convert OpenERP 7.0 addons/modules  to Odoo 8.0


on 11/21/14, 2:59 AM
Shani Gill
On 11/22/14, 5:46 AM


From a marketing perspective it is crucial to understand how many people have actually clicked through from an email received through the marketing module. However, you are only offering visibility on 'Reply' numbers. This is just not enough information to properly evaluate effectiveness of en email campaign.

Also, you are not really offering A/B testing capabilty of email distribution if my evaluation is correct.

Can you please clarify what your plans are on both accounts and provide timelines on adding these type of functionalities? Odoo would benefit in a big way from these improvements.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 10/20/14, 4:25 AM
Seen: 1628 times
Last updated: 3/16/15, 8:10 AM