Difference between revisions of "Odoo"

From SME Server
Jump to navigationJump to search
m
Line 44: Line 44:
 
=LDAP Authentication=
 
=LDAP Authentication=
 
TBA
 
TBA
 +
 +
=Proxy pass=
  
 
=Backup=
 
=Backup=
 
TBA
 
TBA

Revision as of 12:05, 30 July 2017

Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see list of changes.


Odoo.png

About

Odoo is an all-in-one management software that offers a range of business applications that form a complete suite of enterprise management applications. The Odoo solution is ideal for SMEs, but fits both small and large companies alike. Odoo is an all-in-one business software capable of covering all business needs, including CRM, Website/e-Commerce, billing, accounting, manufacturing, warehouse- and project management, and inventory, all seamlessly integrated

You can discuss this howto here on the forums.

Installation

For SME Server 10

You need to enable the epel and the odoo10-nightly or the odoo9-nightly repositories first. Then:

PostgreSQL

cd /root
yum install postgresql-server
postgresql-setup initdb
systemctl enable postgresql
systemctl start postgresql

PDF converter

The wkhtmltox available from CentOS or epel are a lower version then required for Odoo. Also those versions do not convert headers and footers. So we get the latest stable directly from the source.

yum install fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
unxz wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar -xvf wkhtmltox-0.12.4_linux-generic-amd64.tar
mv wkhtmltox/bin/* /usr/bin/
rm -rf wkhtmltox
rm -f wkhtmltox-0.12.4_linux-generic-amd64.tar

Odoo

Depending on your choice you can either use the odoo9-nightly repository or the odoo10-nightly repository. Here we use the odoo9-nightly repository..

yum install odoo --enablerepo=odoo9-nightly,epel
systemctl enable odoo
systemctl start odoo

Odoo as a SME Service

The odoo service needs to be adjusted to be used as init.d service opposed to systemd.

config set odoo service TCPPort 8069 status enabled access public
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S92odoo
signal-event remoteaccess-update

Browse to http://yourserver:8069 and follow instructions.

LDAP Authentication

TBA

Proxy pass

Backup

TBA