Grand stream Wave (GS Wave) Remove country code

Goto Account Settings > Account>DialPlan > enable DialPlan

Under DialPlan Settings add following.

This will remove leading +91 from any dialed digits

{<+91=>x+ | x+ | +x+ | *x+ | *xx*x+ } 


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/



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;