Making a basic module is the first step in building a website. As all we know odoo is a suite of open source business apps that cover all of your company needs and website is one of the important of them.
2. Making a basic module is the first step in building a
website. As all we know odoo is a suite of open source
business apps that cover all of your company needs and
website is one of the important of them. Odoo makes it
easier to design an elegant and attractive websites. For
that very the very first step is that creating a basic
module for website.
3. ● Scaffolding
Here, we're using the scaffolding method to build a fundamental module.
Scaffolding is a simple method for creating modules that uses a single line command
on the terminal to build a skeleton sketch of the module.
4. ● First of all, we need a custom directory. Inside the custom directory, we
can create the module.
5. So in the terminal in the odoo 16 part we can add the single line
command.
‘python3 odoo-bin’ and our method that is scaffold, then the name of
the module that we needed then the custom directory.
eg:- python3 odoo-bin scaffold test_website custom_addons
6.
7. So while we checking the custom_addons we can see a custom module of
name test_website is created.
8. Inside this module we can define the controllers that means the actions or
the data that can be renter to the website can be added inside the
controller.
9. The particular demo files, business objects, access restrictions and the
views can be added inside this module of test_website.
10. Likewise we can start the first step of building the website by creating a
module on the website
11. Check our company website
for related blogs and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.