Odoo 16 uses Python 3.8+ for the backend development, PostgreSQL for the database server, and JavaScript for the frontend development. Here, we will discuss how to configure odoo 16 project on PyCharm.
2. Odoo 16 is the newest version of Odoo which is the most
advanced and prominent version of the software to achieve
ultimate business management with dedicated tools and
functional options. Odoo 16 uses Python 3.8+ for the
backend development, PostgreSQL for the database
server, and JavaScript for the frontend development. Here,
we will discuss how to configure odoo 16 project on
PyCharm.
3. • For Configuring a project on PyCharm, First of all we have to create a new
project.So that Open pycharm -> File ->New Project
• Select the Location where the project need to be stored.
• Create a virtual environment or any other environment needed, for executing
the project.
• Select the python Version inside that, So select a base interpreter then save the
project.
4.
5. • Inside the created directory add the odoo files like GitHub addons and the custom addons
that we created and then it’s doc, Odoo setup, etc.
• Then create a config file, which we have to set ‘admin password’,’db host’ and ‘db port’ for
postgres , and the ‘db user’ : it is the username of postgres and ‘db password’ is the
password of postgres. ’addons path’ is the path location of the addons file.
6. • For running this we need to setup a odoo debug configuration.
• Select the bin file in the script path.The bin which will be stored inside the odoo 16
directory.
• Then Parameters, you have to mention the config file that we created.That is ‘-c’ followed
by the ‘config_file.config’.So it will be ‘-c odoo.conf’.
• ‘Python interpreter’ is used to execute the project.That is the ‘Python 3.8’ version. Then
click ok -> Apply.
7.
8. • Then run Pycharm.Now you can try it on your browser and check localhost:8015.
• if your configuration was successful, the browser will navigate to the database manager of
odoo as shown below: