Install Odoo 12 Community.
We can install Odoo 12 community on Ubuntu 18.04 server or Debian 9 server in the same ways. Odoo 12 use Python 3 and has better performance than before. There are several steps we need to do, so that Odoo can run properly.
- Install Postgresql with command
sudo apt install postgresql -y
- Download latest Odoo 12 package from repository,
wget https://nightly.odoo.com/12.0/nightly/deb/odoo_12.0.latest_all.deb
- Install Odoo 12 package,
sudo dpkg -i odoo_12.0.latest_all.deb
- The above command will produce errors because we need to install dependency of the package. To resolve this, we can use
sudo apt install -f
Now you can type localhost:8069
or ip_address:8069
on your browser to make sure that Odoo 12 installed well.
Install Wkhtmltopdf for Odoo 12.
Odoo 12 needs Wkhtmltopdf for print report document. Based on this recommendation, we can choose Wkhtmltopdf version 0.12.1-* or 0.12.5-* for Odoo 12. And I choose to use the newest Wkhtmltopdf which is version 0.12.5-1 for this tutorial.
Wkhtmltopdf has different package for Ubuntu and Debian, so we need to download these from different links.
Install Wkhtmltopdf 0.12.5-1 on Ubuntu 18.04.
- Download Wkhtmltopdf package for Ubuntu 18.04 from repository,
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
- Install Wkhtmltopdf package,
sudo dpkg -i wkhtmltox_0.12.5–1.bionic_amd64.deb
- Install dependency package,
sudo apt install -f
Install Wkhtmltopdf 0.12.5-1 on Debian 9.
- Download Wkhtmltopdf package for Debian 9 from repository,
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
- Install Wkhtmltopdf package,
sudo dpkg -i wkhtmltox_0.12.5–1.stretch_amd64.deb
- Install dependency package,
sudo apt install -f
That’s it. If you have question, please write in comments section. Thanks for reading. See you.
Read: Run Odoo 12 With Virtualenv on Ubuntu & Debian
Pingback: Run Odoo 12 With Virtualenv on Ubuntu & Debian - Cak Juice
Pingback: Create Custom Report Odoo 11 - Cak Juice
Pingback: Create Custom Report Odoo 12 - Cak Juice
Pingback: Tutorial Basic Django REST Framework. - Cak Juice
Pingback: How To Add Images or Barcodes in Odoo Report - Cak Juice
Pingback: Run Odoo With Docker - Cak Juice
Pingback: Docker-Compose-Odoo13 – Tutorial & Stack Over Flow
Pingback: Docker-Compose-Odoo13 | Poris Indah