OpenERP Client Installation¶
Installing the required packages¶
You need to install python (at least version 2.4 for OpenERP 5.0, 2.5 for OpenERP 6.0).
You also need to install the following python libraries:
- gtk and glade (at least version 2.10)
- matplotlib
- mxdatetime
- xml
- tz (timezone library)
- hippocanvas (Python bindings to hippo-canvas. Hippocanvas is a canvas library based on GTK+2.0, Cairo and Pango)
Note
You’ll also need a pdf viewer (eg. xpdf, acroread, kpdf).
See the Configuring a pdf viewer Section.
Example on Ubuntu¶
On Ubuntu, these libraries are available in the following packages:
- python
- python-gtk2
- python-glade2
- python-matplotlib
- python-egenix-mxdatetime
- python-xml
- python-tz
- python-hippocanvas
To install the required libraries, you can do the following in your favorite shell:
sudo apt-get install python python-gtk2 python-glade2 \
python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
Example on Mandriva¶
You need following to install openerp client on Mandriva:
- python
- python-gtk
- python-gtk-glade
- python-matplotlib
- python-egenix-mx-base
- python-dateutil
- python-xml
- python-hippo-canvas
- python-pytz
To install the packages you can do the following in your favorite shell:
urpmi python python-gtk python-gtk-glade python-matplotlib python-egenix-mx-base python-dateutil python-xml python- hippo-canvas python-pytz
Downloading the OpenERP Client¶
The OpenERP client can be downloaded from the OpenERP website’s download page
Testing the OpenERP Client¶
Note
If you only want to test the client, you do not need to install it. Just unpack the archive and start the openerp-client executable:
tar -xzf openerp-client-5.0.0.tar.gz
cd openerp-client-5.0.0/bin
python openerp-client.py
Installing the OpenERP Client¶
The client can be installed very easily using the setup.py file:
tar -xzf openerp-client-5.0.0.tar.gz
cd openerp-client-5.0.0
sudo python setup.py install
You can now run the client using the following command:
openerp-client
Configuring a pdf viewer¶
OpenERP client by default supports:
- evince
- xpdf
- gpdf
- kpdf
- epdfview
- acroread
- for previewing PDF. The client will try to find one of these executables (in this order) in
- your system and open the pdf document with it.
Note
For example, if xpdf, kpdf and acroread are the only pdf viewers installed on your system, the OpenERP client will use xpdf for previewing pdf document
If you want to use another pdf viewer or if you don’t want to use the first one the client will find. You can edit the OpenERP configuration file normally located in ~/.openerprc. Find the [printer] section and edit the softpath parameter. For example:
[printer]
softpath = kpdf
