Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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 didn't find a definitive guide, but here are the resources I found useful when we migrated from v6.0 to v7 this summer:
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)
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)
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.
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.
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/20/14, 4:25 AM|
|Seen: 1229 times|
|Last updated: 3/16/15, 8:10 AM|