Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Creating a module

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
modulesmodulecreationodoo
8 Besvarelser
78007 Visninger
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
Kassér
Samea
Forfatter

@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
Bedste svar

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
Kassér
Avatar
Anisha Bahukhandi
Bedste svar

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
Kassér
Avatar
Luis Filipe Castanheira
Bedste svar

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
Kassér
Avatar
Shameem Babu
Bedste svar
Watch on YouTube
Create and install new custom module in odoo  
How to create Models and Views in Odoo 

0
Avatar
Kassér
Avatar
Nehal
Bedste svar

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
Kassér
Avatar
Mazhar Iqbal Rana
Bedste svar

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
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
"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
8022
How can we Uninstall odoo module from terminal? Løst
module odoo
Avatar
Avatar
Avatar
Avatar
3
sep. 25
22010
Unmet Dependencies in odoo14
modules odoo
Avatar
Avatar
1
jun. 21
6594
help with the module all-in-one whatsapp integration-sale purchase account and crm odoo 10
modules module
Avatar
0
maj 20
3706
How to define the thousands separator BY CUSTOM MODULE? Løst
modules module
Avatar
Avatar
Avatar
3
dec. 19
6259
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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