3
.. i18n: single: Installation; Open ERP Client (Linux)
4
.. i18n: single: Open ERP Client; Installation (Linux)
8
single: Installation; Open ERP Client (Linux)
9
single: Open ERP Client; Installation (Linux)
12
.. i18n: .. _installation-linux-client-link:
14
.. i18n: OpenERP Client Installation
15
.. i18n: ===========================
17
.. _installation-linux-client-link:
19
OpenERP Client Installation
20
===========================
22
.. i18n: Installing the required packages
23
.. i18n: --------------------------------
25
Installing the required packages
26
--------------------------------
28
.. i18n: You need to install **python** (at least version 2.4).
30
You need to install **python** (at least version 2.4).
32
.. i18n: You also need to install the following python libraries:
34
You also need to install the following python libraries:
36
.. i18n: * **gtk** and **glade** (at least version 2.10)
37
.. i18n: * **matplotlib**
38
.. i18n: * **mxdatetime**
40
.. i18n: * **tz** (timezone library)
41
.. i18n: * **hippocanvas** (Python bindings to hippo-canvas. Hippocanvas is a canvas library based on GTK+2.0, Cairo and Pango)
43
* **gtk** and **glade** (at least version 2.10)
47
* **tz** (timezone library)
48
* **hippocanvas** (Python bindings to hippo-canvas. Hippocanvas is a canvas library based on GTK+2.0, Cairo and Pango)
52
.. i18n: You'll also need a pdf viewer (eg. xpdf, acroread, kpdf).
54
.. i18n: See the :ref:`configure-pdf-viewer-link` Section.
58
You'll also need a pdf viewer (eg. xpdf, acroread, kpdf).
60
See the :ref:`configure-pdf-viewer-link` Section.
62
.. i18n: Example on Ubuntu
63
.. i18n: +++++++++++++++++
68
.. i18n: On Ubuntu, these libraries are available in the following packages:
70
On Ubuntu, these libraries are available in the following packages:
73
.. i18n: * python-gtk2
74
.. i18n: * python-glade2
75
.. i18n: * python-matplotlib
76
.. i18n: * python-egenix-mxdatetime
79
.. i18n: * python-hippocanvas
85
* python-egenix-mxdatetime
90
.. i18n: To install the required libraries, you can do the following in your favorite shell: ::
92
.. i18n: sudo apt-get install python python-gtk2 python-glade2 \
93
.. i18n: python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
95
To install the required libraries, you can do the following in your favorite shell: ::
97
sudo apt-get install python python-gtk2 python-glade2 \
98
python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
100
.. i18n: Downloading the Open ERP Client
101
.. i18n: -------------------------------
103
Downloading the Open ERP Client
104
-------------------------------
106
.. i18n: The OpenERP client can be downloaded from
107
.. i18n: the `OpenERP website's download page <http://www.openerp.com/index.php?option=com_content&view=article&id=18&Itemid=28>`_
109
The OpenERP client can be downloaded from
110
the `OpenERP website's download page <http://www.openerp.com/index.php?option=com_content&view=article&id=18&Itemid=28>`_
112
.. i18n: Testing the Open ERP Client
113
.. i18n: ---------------------------
115
Testing the Open ERP Client
116
---------------------------
120
.. i18n: If you only want to test the client, you do not need to install it. Just unpack the
121
.. i18n: archive and start the openerp-client executable: ::
123
.. i18n: tar -xzf openerp-client-5.0.0.tar.gz
124
.. i18n: cd openerp-client-5.0.0/bin
125
.. i18n: python openerp-client.py
129
If you only want to test the client, you do not need to install it. Just unpack the
130
archive and start the openerp-client executable: ::
132
tar -xzf openerp-client-5.0.0.tar.gz
133
cd openerp-client-5.0.0/bin
134
python openerp-client.py
136
.. i18n: Installing the Open ERP Client
137
.. i18n: ------------------------------
139
Installing the Open ERP Client
140
------------------------------
142
.. i18n: The client can be installed very easily using the *setup.py* file: ::
144
.. i18n: tar -xzf openerp-client-5.0.0.tar.gz
145
.. i18n: cd openerp-client-5.0.0
146
.. i18n: sudo python setup.py install
148
The client can be installed very easily using the *setup.py* file: ::
150
tar -xzf openerp-client-5.0.0.tar.gz
151
cd openerp-client-5.0.0
152
sudo python setup.py install
154
.. i18n: You can now run the client using the following command: ::
156
.. i18n: openerp-client
158
You can now run the client using the following command: ::
163
.. i18n: single: Open ERP Client; Configuring a pdf viewer
164
.. i18n: single: pdf viewer
168
single: Open ERP Client; Configuring a pdf viewer
172
.. i18n: .. _configure-pdf-viewer-link:
174
.. i18n: Configuring a pdf viewer
175
.. i18n: ------------------------
177
.. _configure-pdf-viewer-link:
179
Configuring a pdf viewer
180
------------------------
182
.. i18n: Open ERP client by default supports:
184
Open ERP client by default supports:
200
.. i18n: for previewing PDF. The client will try to find one of these executables (in this order) in
201
.. i18n: your system and open the pdf document with it.
203
for previewing PDF. The client will try to find one of these executables (in this order) in
204
your system and open the pdf document with it.
208
.. i18n: For example, if *xpdf*, *kpdf* and *acroread* are the only pdf viewers installed
209
.. i18n: on your system, the Open ERP client will use *xpdf* for previewing pdf document
213
For example, if *xpdf*, *kpdf* and *acroread* are the only pdf viewers installed
214
on your system, the Open ERP client will use *xpdf* for previewing pdf document
216
.. i18n: If you want to use another pdf viewer or if you don't want to use the first
217
.. i18n: one the client will find. You can edit the Open ERP configuration file normally
218
.. i18n: located in ``~/.terprc``. Find the ``[printer]`` section and edit the
219
.. i18n: ``softpath`` parameter. For example: ::
222
.. i18n: softpath = kpdf
224
If you want to use another pdf viewer or if you don't want to use the first
225
one the client will find. You can edit the Open ERP configuration file normally
226
located in ``~/.terprc``. Find the ``[printer]`` section and edit the
227
``softpath`` parameter. For example: ::