Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Creating a module

Naroči se

Get notified when there's activity on this post

This question has been flagged
modulesmodulecreationodoo
8 Odgovori
77994 Prikazi
Avatar
Samea

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? 

1
Avatar
Opusti
Samea
Avtor

@Nehal Nice but in the first page there is not correct xml-file to look from. Also the second link is already familiar to me. I'll try to check if I can get some pointers from it.

Sehrish

Refer following links:

1- http://learnopenerp.blogspot.com/2016/03/how-to-create-and-install-modules-in.html

2- https://www.youtube.com/watch?v=ZG_H0t9116E

Avatar
Akhil P Sivan
Best Answer

Hi Samea,

Please refer the following link to learn about creating a module in Odoo 8:

https://www.odoo.com/documentation/8.0/howtos/backend.html#build-an-odoo-module

3
Avatar
Opusti
Avatar
Anisha Bahukhandi
Best Answer

Hello,

Steps to create/install the module at Odoo

  • Create a folder then set the technical name for the module.Make sure the module technical name should not contain any spaces eg: “webkul_elearning_module”.
  • Then create an “__init__.py” file inside the folder,You can define python packages/files inside this file.
  • Then create a “__openerp__.py” file,You can define the module name(If not define the name will be ‘Unnamed’) and some other metadata.
  • Now login to your Odoo.
  • Then open developer mode at your Odoo from Odoo “settings”.
  • Then go to the “Apps” menu.
  • Inside the “Apps” menu you will see a button “Update App List”.
  • Click on that button.
  • Then check the module using the module name.
  • After that, you will find your module inside the app list.
  • Then click on the “install” button in order to install your module at Odoo end.

You can follow the steps mentioned in the blog. However, you need to replace "__manifest__.py" to "__openerp__.py" from verson before Odoo V9.

Regards


--
 Webkul
Anisha Bahukhandi
Technical Content Writer (ODOO)

Webkul Software Pvt. Ltd. Contact : India (+91)-9870284067 USA (+1)-9143531684  
Address H-28, ARV Park, Sector 63 ,
Noida-201301 (U.P.) 
India (Branch Office)
http://webkul.com

Facebook - Webkul  Twitter - Webkul  Youtube - Webkul Ticket Support - Webkul
This email and any files transmitted with it are confidential and contain privileged or copyright information. If you are not the intended recipient you must not disseminate, copy, distribute, or use this email or the information contained in it for any purpose other than to notify us. If you have received this message in error, please notify the sender immediately, and delete this email from your system.


1
Avatar
Opusti
Avatar
Luis Filipe Castanheira
Best Answer

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:
__init__.py
(with import of your py file in it)

__openerp__.py
(with the description of your module and import of your xml files)

your_python.py
(with your model definition)

you_views.xml
(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! :-)

1
Avatar
Opusti
Avatar
Shameem Babu
Best Answer
Watch on YouTube
Create and install new custom module in odoo  
How to create Models and Views in Odoo 

0
Avatar
Opusti
Avatar
Nehal
Best Answer

Hi,

Refer the following links:
http://www.ibcscorp.com/openerp-custom-module-development-quick-start-guide/
https://doc.openerp.com/trunk/server/03_module_dev_05/
 

-2
Avatar
Opusti
Avatar
Mazhar Iqbal Rana
Best Answer

Hello Samea

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.

 

http://www.mindissoftware.com/2014/08/31/odoo-addon-open-academy-step2/

 

Hopw it helps you

 

Notify me if not

 

Take Care

-2
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
"Uncaught TypeError: Cannot read property 'name' of undefined" after installing Purchase app and clicking on any menu
modules error module odoo
Avatar
Avatar
1
mar. 15
8012
How can we Uninstall odoo module from terminal? Solved
module odoo
Avatar
Avatar
Avatar
Avatar
3
sep. 25
21992
Unmet Dependencies in odoo14
modules odoo
Avatar
Avatar
1
jun. 21
6582
help with the module all-in-one whatsapp integration-sale purchase account and crm odoo 10
modules module
Avatar
0
maj 20
3680
How to define the thousands separator BY CUSTOM MODULE? Solved
modules module
Avatar
Avatar
Avatar
3
dec. 19
6246
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now