~xrg/openobject-doc/trunk-xrg

« back to all changes in this revision

Viewing changes to i18n/uk/source/install/linux/client/index.rst

  • Committer: TruongSinh Tran
  • Date: 2009-07-17 18:59:45 UTC
  • Revision ID: truongsinh@vipescoserver-20090717185945-ajjp3zso6xh5jddm
[FIX]private issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: .. index::
 
3
.. i18n:    single: Installation; Open ERP Client (Linux)
 
4
.. i18n:    single: Open ERP Client; Installation (Linux)
 
5
.. i18n: .. 
 
6
 
 
7
.. index::
 
8
   single: Installation; Open ERP Client (Linux)
 
9
   single: Open ERP Client; Installation (Linux)
 
10
.. 
 
11
 
 
12
.. i18n: .. _installation-linux-client-link:
 
13
.. i18n: 
 
14
.. i18n: OpenERP Client Installation
 
15
.. i18n: ===========================
 
16
 
 
17
.. _installation-linux-client-link:
 
18
 
 
19
OpenERP Client Installation
 
20
===========================
 
21
 
 
22
.. i18n: Installing the required packages
 
23
.. i18n: --------------------------------
 
24
 
 
25
Installing the required packages
 
26
--------------------------------
 
27
 
 
28
.. i18n: You need to install **python** (at least version 2.4).
 
29
 
 
30
You need to install **python** (at least version 2.4).
 
31
 
 
32
.. i18n: You also need to install the following python libraries:
 
33
 
 
34
You also need to install the following python libraries:
 
35
 
 
36
.. i18n:   * **gtk** and **glade** (at least version 2.10)
 
37
.. i18n:   * **matplotlib**
 
38
.. i18n:   * **mxdatetime**
 
39
.. i18n:   * **xml**
 
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)
 
42
 
 
43
  * **gtk** and **glade** (at least version 2.10)
 
44
  * **matplotlib**
 
45
  * **mxdatetime**
 
46
  * **xml**
 
47
  * **tz** (timezone library)
 
48
  * **hippocanvas** (Python bindings to hippo-canvas. Hippocanvas is a canvas library based on GTK+2.0, Cairo and Pango)
 
49
 
 
50
.. i18n: .. note::
 
51
.. i18n: 
 
52
.. i18n:     You'll also need a pdf viewer (eg. xpdf, acroread, kpdf).
 
53
.. i18n: 
 
54
.. i18n:     See the :ref:`configure-pdf-viewer-link` Section.
 
55
 
 
56
.. note::
 
57
 
 
58
    You'll also need a pdf viewer (eg. xpdf, acroread, kpdf).
 
59
 
 
60
    See the :ref:`configure-pdf-viewer-link` Section.
 
61
 
 
62
.. i18n: Example on Ubuntu
 
63
.. i18n: +++++++++++++++++
 
64
 
 
65
Example on Ubuntu
 
66
+++++++++++++++++
 
67
 
 
68
.. i18n: On Ubuntu, these libraries are available in the following packages:
 
69
 
 
70
On Ubuntu, these libraries are available in the following packages:
 
71
 
 
72
.. i18n:   * python
 
73
.. i18n:   * python-gtk2
 
74
.. i18n:   * python-glade2
 
75
.. i18n:   * python-matplotlib
 
76
.. i18n:   * python-egenix-mxdatetime
 
77
.. i18n:   * python-xml
 
78
.. i18n:   * python-tz
 
79
.. i18n:   * python-hippocanvas
 
80
 
 
81
  * python
 
82
  * python-gtk2
 
83
  * python-glade2
 
84
  * python-matplotlib
 
85
  * python-egenix-mxdatetime
 
86
  * python-xml
 
87
  * python-tz
 
88
  * python-hippocanvas
 
89
 
 
90
.. i18n: To install the required libraries, you can do the following in your favorite shell: ::
 
91
.. i18n: 
 
92
.. i18n:   sudo apt-get install python python-gtk2 python-glade2 \
 
93
.. i18n:       python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
 
94
 
 
95
To install the required libraries, you can do the following in your favorite shell: ::
 
96
 
 
97
  sudo apt-get install python python-gtk2 python-glade2 \
 
98
      python-matplotlib python-egenix-mxdatetime python-xml python-hippocanvas
 
99
 
 
100
.. i18n: Downloading the Open ERP Client
 
101
.. i18n: -------------------------------
 
102
 
 
103
Downloading the Open ERP Client
 
104
-------------------------------
 
105
 
 
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>`_
 
108
 
 
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>`_
 
111
 
 
112
.. i18n: Testing the Open ERP Client
 
113
.. i18n: ---------------------------
 
114
 
 
115
Testing the Open ERP Client
 
116
---------------------------
 
117
 
 
118
.. i18n: .. note::
 
119
.. i18n: 
 
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: ::
 
122
.. i18n: 
 
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
 
126
 
 
127
.. note::
 
128
 
 
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: ::
 
131
 
 
132
        tar -xzf openerp-client-5.0.0.tar.gz
 
133
        cd openerp-client-5.0.0/bin
 
134
        python openerp-client.py
 
135
 
 
136
.. i18n: Installing the Open ERP Client
 
137
.. i18n: ------------------------------
 
138
 
 
139
Installing the Open ERP Client
 
140
------------------------------
 
141
 
 
142
.. i18n: The client can be installed very easily using the *setup.py* file: ::
 
143
.. i18n: 
 
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
 
147
 
 
148
The client can be installed very easily using the *setup.py* file: ::
 
149
 
 
150
  tar -xzf openerp-client-5.0.0.tar.gz
 
151
  cd openerp-client-5.0.0
 
152
  sudo python setup.py install
 
153
 
 
154
.. i18n: You can now run the client using the following command: ::
 
155
.. i18n: 
 
156
.. i18n:   openerp-client
 
157
 
 
158
You can now run the client using the following command: ::
 
159
 
 
160
  openerp-client
 
161
 
 
162
.. i18n: .. index::
 
163
.. i18n:    single: Open ERP Client; Configuring a pdf viewer
 
164
.. i18n:    single: pdf viewer
 
165
.. i18n: .. 
 
166
 
 
167
.. index::
 
168
   single: Open ERP Client; Configuring a pdf viewer
 
169
   single: pdf viewer
 
170
.. 
 
171
 
 
172
.. i18n: .. _configure-pdf-viewer-link:
 
173
.. i18n: 
 
174
.. i18n: Configuring a pdf viewer
 
175
.. i18n: ------------------------
 
176
 
 
177
.. _configure-pdf-viewer-link:
 
178
 
 
179
Configuring a pdf viewer
 
180
------------------------
 
181
 
 
182
.. i18n: Open ERP client by default supports:
 
183
 
 
184
Open ERP client by default supports:
 
185
 
 
186
.. i18n:  #. evince
 
187
.. i18n:  #. xpdf
 
188
.. i18n:  #. gpdf
 
189
.. i18n:  #. kpdf
 
190
.. i18n:  #. epdfview
 
191
.. i18n:  #. acroread
 
192
 
 
193
 #. evince
 
194
 #. xpdf
 
195
 #. gpdf
 
196
 #. kpdf
 
197
 #. epdfview
 
198
 #. acroread
 
199
 
 
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.
 
202
 
 
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.
 
205
 
 
206
.. i18n: .. note::
 
207
.. i18n: 
 
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
 
210
 
 
211
.. note::
 
212
 
 
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
 
215
 
 
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: ::
 
220
.. i18n: 
 
221
.. i18n:     [printer]
 
222
.. i18n:     softpath = kpdf
 
223
 
 
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: ::
 
228
 
 
229
    [printer]
 
230
    softpath = kpdf