Odoo 12 Quick Install

Assumes odoo 11 already installed under /opt/odoo directory.

mkdir /opt/odoo/odoo_backup

mv /opt/odoo/* /opt/odoo/odoo_backup/

cd /opt/odoo/

wget https://github.com/odoo/odoo/archive/12.0.zip

unzip 12.0.zip

mv odoo-12.0/* .

pip3 install -r requirements.txt 

chown -R odoo:odoo /opt/odoo

/etc/init.d/odoo-server restart


Odoo – Nginx – Logout URL

If your odoo site redirects from your public address to the local IP address when logout.
Add the following settings under in nginx config and set proxy_mode = True in odoo config.

proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $http_host;
proxy_headers_hash_bucket_size 64;

Yealink VLAN DHCP Scope configuration on VLAN Windows DHCP Server

Yealink VLAN DHCP Scope configuration on VLAN Windows DHCP Server

To configure Yealink phones to get VLAN ID from the default DHCP Server follow the below instructions.

Step 1

Login to local windows dhcp server and configure a new scope option for Yealink phone.
a) Right click IPv4
b) select “Set Predefined Options”

Step 2

a) Click on “Add”
b) Fill the “Option Type”
c) Select “Data Type” as String.
d) Code is “132”
e) Finish the Options by clicking “OK” on all other dialog boxes.

Step 3

a) Right click Scope Options
b) Select “Configure Options”

Step 4

a) Scroll till the end of the list and select the Yealink VLAN option.
b) Under String value put the VLAN ID which you want to set on yealink phone.