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'm new to Odoo and trying to create my first module, preferably a "hello world" one when it comes at complexity. What I can't really figure out is how I should create a new module and what its file structure is. I have googled about the topic and found several different examples so I'm confused what is the proper way to do it in Odoo 8. I installed Odoo as instructed at Github page with the Python script.
For example according to this guide https://doc.openerp.com/trunk/server/howto/howto_website/ I should use "oe" to generate the module. For the life of me I can't find a program like that anywhere on my Odoo installation. Then this https://doc.openerp.com/trunk/server/03_module_dev_01/ explains the different parts of a module but doesn't really provide an example. This tutorial http://thierry-godin.developpez.com/openerp/tutorial-module-creation-pos-modification-english-version/ provides a folder structure for a module, but it seems to differ from other examples by having folders and files not mentioned in the other sources.
So in short is there an up to date example of a bare-bones module or guide for creating one? Is one of the linked ones viable?
Please refer the following link to learn about creating a module in Odoo 8:
Take a look at: https://www.odoo.com/forum/Help-1/question/How-i-can-create-module-openerp-7--16336 it has links to several examples.
For starters, do a simple test with:
(with import of your py file in it)
(with the description of your module and import of your xml files)
(with your model definition)
(with the view definitions of your module).
Put these files inside a folder and upload them to the "addons" folder of your server.
In your OpenERP client, go to Settings »» Update Module List. After that, go to Settings »» Installed modules; remove the "installed" filter from the search box and search for the name of your module. Your module should now show up in the "kanban view" click the Install button and it should be running!
After this first step, add complexity to it at your taste! :-)
Creating Module in Odoo8 is not that difficult.. Do not worry. examples do exist there on internet. One of the examples, step by step process of creating a complete module I am giving below.
Hopw it helps you
Notify me if not
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: 5/30/14, 6:54 AM|
|Seen: 30105 times|
|Last updated: 1/15/17, 6:12 PM|