Odoo 12 Development in ubuntu 18.04 using PyCharm
Update and upgrade the system first
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y upgrade
Installing python dependencies for odoo12
sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less
Installing Pycharm
For install PyCharm,
Install PyCharm on ubuntu 18.04 is by snappy packaging system, open terminal and type following command
sudo snap install pycharm-community --classic
Or,you can download it from here
https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=linux . After the successfull download of the pycharm, goto the bin folder,open terminal here
https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=linux . After the successfull download of the pycharm, goto the bin folder,open terminal here
pycharm.sh file using ./pycharm.sh
Alternatively,you can install PyCharm CE using the ubuntu Software Center as shown in the image below
Installing PostgreSQL
Download Odoo 12
Installing PostgreSQL
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo apt install postgresql postgresql-contrib
Create a new PostgrSQL Role
sudo -u postgres createuser --interactive
output:
Enter name of role to add: odoo
Shall the new role be a superuser? (y/n) y
Shall the new role be a superuser? (y/n) y
To set password for new role
sudo -u postgres psql
ALTER ROLE odoo WITH PASSWORD 'odoo';
to exit use '\q'
ALTER ROLE odoo WITH PASSWORD 'odoo';
to exit use '\q'
Download Odoo 12
To download the latest Odoo zip file from Github or clone Odoo source code from git hub, this has to be done in PyCharm
After extracting the zip file goto odoo directory and install the requirements via terminal by following code
pip3 install -r requirements.txt
Odoo configuration file need to be created inside the odoo directory.
#Copy and paste below content in config file,write correct addons paths
#Copy and paste below content in config file,write correct addons paths
[options] ;:admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo xmlrpc_port = 8069 addons_path = /home/hanish/odoo/odoo-12.0/addons,/home/hanish/odoo/odoo-12.0/odoo/addons
in pyCharm menu Run > Edit Configurations, click + on the top left to create a new configuration with the following settings:
Go to Web browser to access Odoo12
http://localhost:8069
Thank you for the information. It worked really fine for me.
ReplyDeletethanks for your feedback
Deletethanks for your feedback
ReplyDeletenice post
ReplyDeletevisit us
Thank you for your feedback
DeleteThank you so much for sharing your wonderful ideas and techniques with us. I hope that you will share some more in near future. Keep sharing.
ReplyDeleteOdoo Implementation
JetBrains PyCharm I am very impressed with your post because this post is very beneficial for me.
ReplyDeleteThanks for sharing such a amazing information i hope you keep on sharing such kind of useful information daily......
ReplyDeleteOdoo
Odoo as an Ubuntu Service
Odoo 14
Odoo Installation ubuntu
Ubuntu 18.04
Book a techie for your business and get started with us. Inwizards Odoo Development Company is your go to place for all software solutions. Lead our company towards success with Inwizards LLC.
ReplyDeleteWhy Inwizards?
Experienced Odoo Developers
500+ successful projects delivered
Mastery in latest technologies
Transparent workflow
Affordable
Support and maintenance
Diverse medium to interact with developers
If you want to achieve success for your business, Inwizards LLC provides the best odoo development services.
Feel free to get in touch with us for further discussions and pricing details. Here are our contact details:
Website Address: https://inwizards.com/hire-odoo-developers-India.php
Email: info@inwizards.com
Call: USA- +1-(979)-599-0896 | IN- +91-9667584436
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. You can Latest Software Crack Free Download With Activation Key, Serial Key & Keygen I hope to have many more entries or so from you. Download Crack Softwares Free Download
ReplyDeletefull latest version 2022 blog.
PreSonus Notion Crack
CLA-76 Compressor Crack
Ozone Imager Crack
1Keyboard Crack
4Front TruePianos Latest VST Crack
Pycharm Professional Crack
My response on my own website. Appreciation is a wonderful thing...thanks for sharing keep it up. MiniTool Partition Wizard Crack
ReplyDeleteVisual Paradigm Crack
Password Recovery Bundle Crack
Avast Cleanup Premium Crack
StudioLine Web Designer Crack
Corel PaintShop Pro Crack
PyCharm Crack
Really good work there. Informative and helpful. Appreciate it. But might be looking for Odoo Development Company in Virginia
ReplyDeleteThank you for your feedback
DeleteTake advantage of language-aware code completion, error detection, and on-the-fly code fixes! Use smart search to jump to any class, file or symbol, or even any IDE action or tool window. PyCharm Professional Crack only takes one click to switch to the declaration, super method, test, usages, implementation, and more.
ReplyDelete