Understanding Odoo Module Structure: A Comprehensive Guide. Day1# — Transcript
Full transcript
- 0:01Hello.
- 0:02Hi, welcome to my YouTube channel.
- 0:04So, in this video I will discuss on the
- 0:08Odoo module structure, okay? So, today's
- 0:12agenda is
- 0:13module structure.
- 0:15How to create the module in the Odoo
- 0:18from the basic, okay? Let's
- 0:22See, I'm open this one
- 0:24a company, Cybrosys is a
- 0:26a high top-level company and this is the
- 0:30simply explain the everything in the
- 0:33uh
- 0:34syntax, okay?
- 0:36So, basically click on uh search here
- 0:39Odoo
- 0:41module structure.
- 0:44First link
- 0:45click on the first link
- 0:47and simply open, okay? So, simply he's
- 0:51explain everything in the uh our website
- 0:55our website, okay? So, here you can see
- 0:59uh one screen is sold here. First is the
- 1:01module name is the theme sale on and
- 1:04after that the uh controller and data
- 1:07and models. So, this is the uh theme
- 1:10sale on is the module technical name,
- 1:13okay?
- 1:14Inside the
- 1:16this folder
- 1:17first is the controller
- 1:19inside the controller you can create
- 1:23a Python file, right? If you create in
- 1:25the Python file in the controller, then
- 1:27you need to create the init slide. Init
- 1:30slide is basically when you link him.
- 1:32Okay. For example, main.py it is need to
- 1:36link with in the internal init file. If
- 1:40you
- 1:40you
- 1:41link main.py file in the init internal
- 1:45file, after that the this folder need to
- 1:49link in the external init file. This is
- 1:52the external init file and inside of
- 1:55this folder, this is the init file.
- 1:57Internal init file. And also we are
- 1:59called models inside init file is the
- 2:02internal init file, okay?
- 2:05So, basically uh whenever you create
- 2:09a website and uh
- 2:11you improve
- 2:13the form, portal form and uh everything
- 2:17related to website portal uh in the
- 2:19Odoo, you can write in the
- 2:22controller module, controller folder,
- 2:25okay? After that the data.
- 2:27Data basically initialize the data for
- 2:30the Odoo understanding and
- 2:33basically uh configurations data, okay?
- 2:37After that the models. Models is the
- 2:39importance
- 2:40uh every time uh whenever you create
- 2:43Python
- 2:44file in the models, need to initialize
- 2:47in internal init file. He is create the
- 2:50a sale on configuration.py, after that
- 2:53theme sale on
- 2:55and .py. There is two Python file need
- 2:58to link in the internal file, okay?
- 3:00In the models uh only collect Python
- 3:03file. After that the security security
- 3:07inside the security folder create uh XML
- 3:11and also CSV file. CSV file for used for
- 3:16whenever you create new object, you need
- 3:18to
- 3:19give access. Basically the uh this
- 3:22object need to create, read, write and
- 3:25unlink, okay?
- 3:27So, need to give access in the security
- 3:30file.
- 3:31Or whenever you create the groups and
- 3:33then this group files
- 3:36also come inside the security folder.
- 3:39After the security folder come the
- 3:41static. Static folder basically used for
- 3:43the uh images and CSS file collect the
- 3:47CSS file and font files, images and JS
- 3:51files. All this collection uh collect
- 3:54the static folder, okay?
- 3:57Uh after that the view folder, view
- 4:00folder
- 4:01only collect
- 4:04taking taking the XML file like a form
- 4:07view, tree view,
- 4:08uh act window, everything, okay? Related
- 4:11to XML. He's taking the view folder.
- 4:16So, this is the base um
- 4:19basic configurations how to create the
- 4:22module in the Odoo and need to
- 4:25uh
- 4:27need to check everything in the folder,
- 4:30if you correct anything here here
- 4:34incorrect enter here, then the module
- 4:36not come in the Odoo. Uh okay. For
- 4:38example
- 4:40init before come to underscore, if you
- 4:43enter only one underscore, then this
- 4:46module do not show in the Odoo app. So,
- 4:48this is the problem. Also you can uh
- 4:52read the all the sentences related to
- 4:54the this module structure. So, this is
- 4:57the you can read here everything
- 4:59explained here. Demo demo data basically
- 5:03used for the demo demo stration data,
- 5:06which is helpful for test training or
- 5:08module simulation like
- 5:10um whenever you create the database,
- 5:12okay? And there is the one checkbox demo
- 5:15demo. If you click on the demo then that
- 5:19cuz some data is reload by default like
- 5:22sale order created already uh three to
- 5:25four and also the product created,
- 5:27contact created. So, this is the demo
- 5:30data.
- 5:31Okay, demo data basically created in the
- 5:34module structure statically type, okay?
- 5:37So, everything is here, okay? Wizard
- 5:40Wizard why use? Wizard folder is used
- 5:42for the
- 5:44intermediate data, okay? Basically used
- 5:47for the pop-up window. Whenever you
- 5:49click on in menu or button, you want to
- 5:52open the pop-up window for transient
- 5:56model, then need to use wizard. Report
- 6:00folder. Report folder is used for the uh
- 6:03PDF, okay? Uh in the report folder you
- 6:06can uh uh
- 6:09create two type files are Python file or
- 6:11XML file. If you create the Python file
- 6:14inside the report then need to create
- 6:17internal init file for the linking,
- 6:20okay? So, basically used for the PDF
- 6:23document, okay? Report folder.
- 6:27So, this is the basic structure Odoo
- 6:29module, okay? You can screen shot or
- 6:33come here the this link
- 6:35and
- 6:36you can see here.
- 6:38So, only my motive in this video only
- 6:42how
- 6:43how is showing the module structure,
- 6:45okay?
- 6:47So, thank you.
- 6:49If you have any query
- 6:50uh you can write the comment in the
- 6:53video section.
- 6:55I will
- 6:56uh
- 6:57reply you.
- 6:58Okay, thank you.
About this transcript
This page contains the full transcript of Understanding Odoo Module Structure: A Comprehensive Guide. Day1# by Odoo Tech , generated from the public captions YouTube serves with the video. The transcript has 881 words across 160 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.